summaryrefslogtreecommitdiffstats
path: root/src/tokenizer_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/tokenizer_test.go')
-rw-r--r--src/tokenizer_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tokenizer_test.go b/src/tokenizer_test.go
index ed77efe9..1ae0c7ee 100644
--- a/src/tokenizer_test.go
+++ b/src/tokenizer_test.go
@@ -95,3 +95,7 @@ func TestTransform(t *testing.T) {
}
}
}
+
+func TestTransformIndexOutOfBounds(t *testing.T) {
+ Transform([]Token{}, splitNth("1"))
+}