add string comparison
This commit is contained in:
@@ -229,6 +229,9 @@ func TestBooleanExpressions(t *testing.T) {
|
||||
{"!!false", false},
|
||||
{"!!5", true},
|
||||
{"!(if (false) { 5; })", true},
|
||||
{`"a" == "a"`, true},
|
||||
{`"a" < "b"`, true},
|
||||
{`"abc" == "abc"`, true},
|
||||
}
|
||||
|
||||
runVmTests(t, tests)
|
||||
|
||||
Reference in New Issue
Block a user