]> Sergey Matveev's repositories - path-extractor.git/blobdiff - pe_test.go
Add new test function call should not match
[path-extractor.git] / pe_test.go
index f560e37249949d7b17c04e94956ae8fd2d317078..acb93c13b04ede10c558f6e517ecb49d5ebcfc73 100644 (file)
@@ -48,6 +48,11 @@ func TestEverything(t *testing.T) {
                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)