+
+ output = GetAllMatches("test.js:45", MatchOptions{format: "ackmate"})
+ if len(output) != 1 {
+ t.Errorf("Ackmate doesnt match", output)
+ }
+ if output[0] == "test.js" {
+ t.Errorf("Ackmate should not forget number", output)
+ }
+ if output[0] != "test.js:45" {
+ t.Errorf("Ackmate should output right line number", output)
+ }