]> Sergey Matveev's repositories - path-extractor.git/blobdiff - pe_test.go
Correct version number
[path-extractor.git] / pe_test.go
index 677161c4f6f6b322d0a574dde7eef37888631276..bc07d279b695c12fb8f8c33e1cd2cc7f6efde3be 100644 (file)
@@ -132,6 +132,11 @@ func TestEverything(t *testing.T) {
                t.Errorf("Matches version number", output)
        }
 
+       output = GetAllMatches("14.22.2", "")
+       if len(output) != 0 {
+               t.Errorf("Matches version number", output)
+       }
+
        output = GetAllMatches("~/v1.2/js", "")
        if len(output) != 1 {
                t.Errorf("Should match path with version inside", output)