mirror of https://github.com/vitalif/openscad
Updated tests
parent
23c9dee265
commit
945be0020f
|
@ -11,6 +11,10 @@ ECHO: "for loop (c = 0,1,25):"
|
|||
ECHO: "c", 0
|
||||
ECHO: "c", 1
|
||||
ECHO: "c", 25
|
||||
ECHO: "if scope:"
|
||||
ECHO: "d (8)", 8
|
||||
ECHO: "else scope:"
|
||||
ECHO: "d (9)", 9
|
||||
ECHO: "anonymous inner scope (scope ignored):"
|
||||
ECHO: "outer e (3)", 3
|
||||
ECHO: "inner e (3)", 3
|
||||
|
@ -21,3 +25,6 @@ ECHO: "anonymous scope reassign:"
|
|||
ECHO: "g (2)", 2
|
||||
ECHO: "anonymous reassign using outer (scope ignored)", undef
|
||||
ECHO: "h (undef)", undef
|
||||
ECHO: "override variable in assign scope:"
|
||||
DEPRECATED: The assign() module will be removed in future releases. Use a regular assignment instead.
|
||||
ECHO: "i (10)", 10
|
||||
|
|
|
@ -18,6 +18,7 @@ ECHO: "user-defined special variables as parameter"
|
|||
ECHO: 7
|
||||
ECHO: 7
|
||||
ECHO: "assign only visible in children's scope"
|
||||
DEPRECATED: The assign() module will be removed in future releases. Use a regular assignment instead.
|
||||
WARNING: Ignoring unknown variable 'c'.
|
||||
ECHO: undef
|
||||
ECHO: 5
|
||||
|
|
Loading…
Reference in New Issue