aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <m.shulhan@gmail.com>2019-10-03 23:33:16 +0700
committerShulhan <m.shulhan@gmail.com>2019-10-03 23:43:48 +0700
commit79b11ed45d8a2b245bf40e83752ff50e593136ca (patch)
treec3fdcc949ec07e059f75abc2e3a233797c56a356
parentdc6089eb8b90fffa8cc082d4c8b72bbca18bb4d3 (diff)
downloadpakakeh.go-79b11ed45d8a2b245bf40e83752ff50e593136ca.tar.xz
bytes: fix empty test case on IsTokenAt
-rw-r--r--lib/bytes/bytes_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bytes/bytes_test.go b/lib/bytes/bytes_test.go
index 66b04e6a..a543cd9c 100644
--- a/lib/bytes/bytes_test.go
+++ b/lib/bytes/bytes_test.go
@@ -171,7 +171,7 @@ func TestIsTokenAt(t *testing.T) {
p int
exp bool
}{{
- // empty
+ token: nil,
}, {
token: []byte("world"),
p: -1,