fix string_suffixreplace test. closes #37
parent
63a7d79113
commit
9b39791076
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue