fixed automatic_test
This commit is contained in:
parent
29d3fcfa98
commit
bbd6a37d76
|
@ -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(),
|
"0123456789": Numeric.getEncoder(),
|
||||||
"ALPHA NUMERIC": AlphaNumeric.getEncoder(),
|
"ALPHA NUMERIC": AlphaNumeric.getEncoder(),
|
||||||
"no matching encoing": nil,
|
"unicode encoing": Unicode.getEncoder(),
|
||||||
}
|
}
|
||||||
|
|
||||||
for str, enc := range tests {
|
for str, enc := range tests {
|
||||||
|
|
Loading…
Reference in New Issue