Convert old test KCL to kwargs
This commit is contained in:
committed by
Nick Cameron
parent
fc7e6993ca
commit
141c38c92b
@ -435,10 +435,10 @@ describe('testing math operators', () => {
|
|||||||
`const part001 = startSketchOn('XY')`,
|
`const part001 = startSketchOn('XY')`,
|
||||||
` |> startProfileAt([0, 0], %)`,
|
` |> startProfileAt([0, 0], %)`,
|
||||||
` |> line(end = [3, 4], tag = $seg01)`,
|
` |> line(end = [3, 4], tag = $seg01)`,
|
||||||
` |> line([`,
|
` |> line(end = [`,
|
||||||
` min(segLen(seg01), myVar),`,
|
` min(segLen(seg01), myVar),`,
|
||||||
` -legLen(segLen(seg01), myVar)`,
|
` -legLen(segLen(seg01), myVar)`,
|
||||||
`], %)`,
|
`])`,
|
||||||
``,
|
``,
|
||||||
].join('\n')
|
].join('\n')
|
||||||
const mem = await exe(code)
|
const mem = await exe(code)
|
||||||
|
|||||||
Reference in New Issue
Block a user