]> Sergey Matveev's repositories - path-extractor.git/blobdiff - pe_test.go
Correct surrounded by parens
[path-extractor.git] / pe_test.go
index 844a0e56a69255fb5c2bd59185dc468df7729cde..6038afe9722e3f1fe3ee805737abed9e83e7e4cd 100644 (file)
@@ -82,6 +82,9 @@ func TestGitIgnore(t *testing.T) {
        if len(output) != 1 {
                t.Errorf("Doesnt match surrounded by parens", output)
        }
+       if output[0] != "user.js" {
+               t.Errorf("matches surrounded by parens badly", output)
+       }
 
        output = GetAllMatches("var/")
        if len(output) != 1 {