Add test to make sure --set-string flag takes `null` as string

pull/4207/head^2
Elmar Ritsch 7 years ago committed by Sebastien Plisson
parent 1c800c12ff
commit 5434774033

@ -80,6 +80,11 @@ func TestParseSet(t *testing.T) {
expect: map[string]interface{}{"boolean": "true"},
err: false,
},
{
str: "is_null=null",
expect: map[string]interface{}{"is_null": "null"},
err: false,
},
}
tests := []struct {
str string

Loading…
Cancel
Save