Skip to content

Commit d6803cc

Browse files
committed
Simplified tests + added test to check string concatenation
1 parent a56e735 commit d6803cc

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#output: 5a
2+
3+
println(5 + "a");

ScriptingEngineTester/src/main/resources/zencode-tests/operators/compare-1.zc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
#output: true
66
#output: true
77

8-
println("" + ((3 < 5)));
9-
println("" + ((3 < (5 as usize))));
10-
println("" + ((3 < 5.0)));
11-
println("" + ((3 < 5.0f)));
12-
println("" + (3 < 0x40));
13-
println("" + ((-5 < (3 as usize)))); // interpreted as int
8+
println(3 < 5);
9+
println(3 < (5 as usize));
10+
println(3 < 5.0);
11+
println(3 < 5.0f);
12+
println(3 < 0x40);
13+
println(-5 < (3 as usize)); // interpreted as int

0 commit comments

Comments
 (0)