diff options
Diffstat (limited to 'tests/expansion')
-rw-r--r-- | tests/expansion/type.test | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/expansion/type.test b/tests/expansion/type.test index 1aae5b6..d524eea 100644 --- a/tests/expansion/type.test +++ b/tests/expansion/type.test @@ -10,30 +10,30 @@ : $* <<EOI x = [bool] true -y = \$x -assert \(\$type\(\$y) == bool) +y = $x +assert ($type($y) == bool) EOI : eval : $* <<EOI -y = \([bool] true) -assert \(\$type\(\$y) == bool) +y = ([bool] true) +assert ($type($y) == bool) EOI : func : $* <<EOI -y = \$identity\([bool] true) -assert \(\$type\(\$y) == bool) +y = $identity([bool] true) +assert ($type($y) == bool) EOI : untypify : $* <<EOI x = [bool] true -y = "\$x" -assert \(\$type\(\$y) == "") +y = "$x" +assert ($type($y) == "") EOI : type-conflict |