From 40e940f090b0036488c8254d062723b12a14efd7 Mon Sep 17 00:00:00 2001 From: Edgar HIPP Date: Sun, 30 Aug 2015 17:07:02 +0200 Subject: [PATCH] Add new test function call should not match --- pe_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pe_test.go b/pe_test.go index f560e37..acb93c1 100644 --- a/pe_test.go +++ b/pe_test.go @@ -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) -- 2.44.0