summaryrefslogtreecommitdiff
path: root/src/pattern_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pattern_test.go')
-rw-r--r--src/pattern_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pattern_test.go b/src/pattern_test.go
index bfadf5d8..5a622952 100644
--- a/src/pattern_test.go
+++ b/src/pattern_test.go
@@ -98,6 +98,9 @@ func TestEqual(t *testing.T) {
}
match("ABC", -1, -1)
match("AbC", 0, 3)
+ match("AbC ", 0, 3)
+ match(" AbC ", 1, 4)
+ match(" AbC", 2, 5)
}
func TestCaseSensitivity(t *testing.T) {