Shouldn't rewrite dot in a string to index syntax (#502)

Co-authored-by: Casey Lee <[email protected]>
This commit is contained in:
KADOTA, KyoheiandCasey Lee authored and GitHub committed 2021-02-08 09:14:12 -08:00
1 parent fc46f506e3
commit 316b078f8c
2 files changed
+79 -12

No files matched your search

+2
View File
@@ -89,6 +89,8 @@ func TestEvaluate(t *testing.T) {
{"(fromJson('{\"foo\":\"bar\"}')).foo", "bar", ""},
{"hashFiles('**/non-extant-files')", "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", ""},
{"hashFiles('**/non-extant-files', '**/more-non-extant-files')", "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", ""},
{"hashFiles('**/non.extant.files')", "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", ""},
{"hashFiles('**/non''extant''files')", "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", ""},
{"success()", "true", ""},
{"failure()", "false", ""},
{"always()", "true", ""},