Fix allowed characters test.

This commit is contained in:
Dmitry Chestnykh 2015-01-21 19:39:59 +01:00
parent 45d4bb4e8f
commit c1f1da6c92

View File

@ -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
}