]> Sergey Matveev's repositories - path-extractor.git/blobdiff - pe_test.go
Match logo@2x.png but not email adress
[path-extractor.git] / pe_test.go
index cc8ef4d98ffa172a79e2e247fa28c5fb4b8f901c..c10655aac70d99aa3af10813c3c04dea01475914 100644 (file)
@@ -18,6 +18,11 @@ func TestGitIgnore(t *testing.T) {
                t.Errorf("Matches email adresses", output[0])
        }
 
+       output = GetAllMatches(" logo@2x.png ")
+       if len(output) == 0 {
+               t.Errorf("Doesn't match retina asset", output[0])
+       }
+
        output = GetAllMatches("and/or")
        if len(output) != 0 {
                t.Errorf("Matches and/or adresses", output[0])