Test a calc reading one operand twice

This commit is contained in:
2026-10-05 12:25:32 +02:00
committed by Lillem4n
parent c97ed3612b
commit 350514b60e
2 changed files with 5 additions and 2 deletions
+2 -2
View File
@@ -14,8 +14,8 @@ func TestSplitArgsQuotesOutsideSelectors(t *testing.T) {
"/geo.US.locality[O'Fallon].name, 2": {"/geo.US.locality[O'Fallon].name", "2"},
"'[a,b]'": {"'[a,b]'"},
} {
if got := SplitArgs(in); !reflect.DeepEqual(got, want) {
t.Errorf("SplitArgs(%q) = %q, want %q", in, got, want)
if got := splitArgs(in); !reflect.DeepEqual(got, want) {
t.Errorf("splitArgs(%q) = %q, want %q", in, got, want)
}
}
}