summaryrefslogtreecommitdiff
path: root/lib_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib_test.go')
-rw-r--r--lib_test.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib_test.go b/lib_test.go
index 1c30c0e..4605e70 100644
--- a/lib_test.go
+++ b/lib_test.go
@@ -203,3 +203,8 @@ func TestCoordinatesToCellName_Error(t *testing.T) {
}
}
}
+
+func TestBytesReplace(t *testing.T) {
+ s := []byte{0x01}
+ assert.EqualValues(t, s, bytesReplace(s, []byte{}, []byte{}, 0))
+}