]> Sergey Matveev's repositories - path-extractor.git/blobdiff - pe_test.go
Add ip adress regression
[path-extractor.git] / pe_test.go
index bc07d279b695c12fb8f8c33e1cd2cc7f6efde3be..d6dfaa6160746bf3196b1de200ace90b2fecd7c0 100644 (file)
@@ -33,6 +33,11 @@ func TestEverything(t *testing.T) {
                t.Errorf("Matches sentence", output)
        }
 
+       output = GetAllMatches("0.0.0.0:3000", "")
+       if len(output) != 0 {
+               t.Errorf("Match ipadress", output)
+       }
+
        output = GetAllMatches("'/usr/bin", "")
        if output[0] != "/usr/bin" {
                t.Errorf("Doesn't match statement correctly", output)