mirror of https://github.com/tidwall/gjson.git
Rename test
This commit is contained in:
parent
1c258afe09
commit
1471a933ec
|
@ -1991,7 +1991,7 @@ func TestSingleModifier(t *testing.T) {
|
||||||
assert(t, Get(data, "\\@key").String() == "value")
|
assert(t, Get(data, "\\@key").String() == "value")
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestModifierInSubSelector(t *testing.T) {
|
func TestModifiersInMultipaths(t *testing.T) {
|
||||||
AddModifier("case", func(json, arg string) string {
|
AddModifier("case", func(json, arg string) string {
|
||||||
if arg == "upper" {
|
if arg == "upper" {
|
||||||
return strings.ToUpper(json)
|
return strings.ToUpper(json)
|
||||||
|
|
Loading…
Reference in New Issue