aboutsummaryrefslogtreecommitdiff
path: root/lib/bytes/bytes_test.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2018-09-03 22:27:44 +0700
committerShulhan <ms@kilabit.info>2018-09-03 22:55:06 +0700
commitd3e6c2e902eb3a00c2dfdcde09bf35282ea63396 (patch)
tree63432c09e0dddb08942e7172f24666a811432bb5 /lib/bytes/bytes_test.go
parentaab053ef5c49bcc67f6de5477d9760ea4e3bf6ab (diff)
downloadpakakeh.go-d3e6c2e902eb3a00c2dfdcde09bf35282ea63396.tar.xz
Move all byte(s) related constant and functions from package text to bytes
Diffstat (limited to 'lib/bytes/bytes_test.go')
-rw-r--r--lib/bytes/bytes_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/bytes/bytes_test.go b/lib/bytes/bytes_test.go
index d4fef2a6..50669c4f 100644
--- a/lib/bytes/bytes_test.go
+++ b/lib/bytes/bytes_test.go
@@ -5,7 +5,6 @@ import (
"testing"
"github.com/shuLhan/share/lib/test"
- libtext "github.com/shuLhan/share/lib/text"
)
func TestToLower(t *testing.T) {
@@ -35,7 +34,7 @@ func TestToLower(t *testing.T) {
}
}
-var randomInput256 = libtext.Random([]byte(libtext.HexaLetters), 256)
+var randomInput256 = Random([]byte(HexaLetters), 256)
func BenchmarkToLowerStd(b *testing.B) {
in := make([]byte, len(randomInput256))