pe_test.go | 5 +++++ diff --git a/pe_test.go b/pe_test.go index f560e37249949d7b17c04e94956ae8fd2d317078..acb93c13b04ede10c558f6e517ecb49d5ebcfc73 100644 --- a/pe_test.go +++ b/pe_test.go @@ -48,6 +48,11 @@ if len(output) != 0 { t.Errorf("Matches function call", output) } + output = GetAllMatches("fs.read(arg)", MatchOptions{}) + if len(output) != 0 { + t.Errorf("Matches function call", output) + } + output = GetAllMatches("~/www", MatchOptions{}) if len(output) == 0 || output[0] != "~/www" { t.Errorf("Doesnt match home", output)