Add variadic version of hashFiles (#411)

This commit is contained in:
Peter Tissen authored and GitHub committed 2020-11-09 09:08:57 -08:00
1 parent d6b2e9df78
commit d5b2d60c35
2 files changed
+10 -5

No files matched your search

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