From c1f1da6c92fdb5e833f8380ef6559e9a7c3f9642 Mon Sep 17 00:00:00 2001 From: Dmitry Chestnykh Date: Wed, 21 Jan 2015 19:39:59 +0100 Subject: [PATCH] Fix allowed characters test. --- uniuri_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uniuri_test.go b/uniuri_test.go index a2478af..c9c3ffb 100644 --- a/uniuri_test.go +++ b/uniuri_test.go @@ -12,7 +12,7 @@ import "testing" func validateChars(t *testing.T, u string, chars []byte) { for _, c := range u { var present bool - for _, a := range StdChars { + for _, a := range chars { if rune(a) == c { present = true }