]> Sergey Matveev's repositories - path-extractor.git/blobdiff - pe_test.go
More matches (with _)
[path-extractor.git] / pe_test.go
index f0f013bea2d9c69a9b8cc8b12cacef6ec9be97fb..2deeae75e91b5c61daf315ccba39ec9106ee0ba6 100644 (file)
@@ -18,6 +18,11 @@ func TestEverything(t *testing.T) {
                t.Errorf("Doesn't match statement correctly", output)
        }
 
+       output = GetAllMatches("/usr_b/bin", MatchOptions{})
+       if output[0] != "/usr_b/bin" {
+               t.Errorf("Doesn't match statement correctly", output)
+       }
+
        output = GetAllMatches("\"/usr/bin", MatchOptions{})
        if output[0] != "/usr/bin" {
                t.Errorf("Doesn't match statement correctly", output)