fix string_suffixreplace test. closes #37

Oliver Tonnhofer 2014-09-03 08:24:01 +02:00
parent 63a7d79113
commit 9b39791076
1 changed files with 2 additions and 2 deletions

View File

@ -109,8 +109,8 @@ func TestZOrder(t *testing.T) {
func TestMakeSuffixReplace(t *testing.T) {
field := Field{
"name", "name", "string_suffixreplace",
map[string]interface{}{"suffixes": map[string]interface{}{"Straße": "Str.", "straße": "str."}}}
Name: "name", Key: "name", Type: "string_suffixreplace",
Args: map[string]interface{}{"suffixes": map[string]interface{}{"Straße": "Str.", "straße": "str."}}}
suffixReplace, err := MakeSuffixReplace("name", FieldType{}, field)
if err != nil {