boombuler 12 лет назад
Родитель
Сommit
bbd6a37d76
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      qr/automatic_test.go

+ 3 - 3
qr/automatic_test.go

@@ -7,9 +7,9 @@ import (
 
 func Test_AutomaticEncoding(t *testing.T) {
 	tests := map[string]encodeFn{
-		"0123456789":          Numeric.getEncoder(),
-		"ALPHA NUMERIC":       AlphaNumeric.getEncoder(),
-		"no matching encoing": nil,
+		"0123456789":      Numeric.getEncoder(),
+		"ALPHA NUMERIC":   AlphaNumeric.getEncoder(),
+		"unicode encoing": Unicode.getEncoder(),
 	}
 
 	for str, enc := range tests {