Procházet zdrojové kódy

fixed automatic_test

boombuler před 12 roky
rodič
revize
bbd6a37d76
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  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 {