Sfoglia il codice sorgente

fixed automatic_test

boombuler 12 anni fa
parent
commit
bbd6a37d76
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      qr/automatic_test.go

+ 3 - 3
qr/automatic_test.go

@@ -7,9 +7,9 @@ import (
 
 
 func Test_AutomaticEncoding(t *testing.T) {
 func Test_AutomaticEncoding(t *testing.T) {
 	tests := map[string]encodeFn{
 	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 {
 	for str, enc := range tests {