add string comparison
Some checks failed
Build / build (push) Failing after 1m41s
Test / build (push) Failing after 11m44s

This commit is contained in:
Chuck Smith
2024-03-15 14:20:04 -04:00
parent d7938e59e4
commit c818591f79
4 changed files with 40 additions and 5 deletions

View File

@@ -62,6 +62,9 @@ func TestEvalBooleanExpression(t *testing.T) {
{"(1 < 2) == false", false},
{"(1 > 2) == true", false},
{"(1 > 2) == false", true},
{`"a" == "a"`, true},
{`"a" < "b"`, true},
{`"abc" == "abc"`, true},
}
for _, tt := range tests {