@@ -227,12 +227,6 @@ def test_update(parse: Callable[[str], JSONPath], expression: str, data, update_
227227 # Slices
228228 # ------
229229 #
230- ("[*]" , 1 , [1 ], ["[0]" ]),
231- ("[*]" , 1.2 , [1.2 ], ["[0]" ]),
232- ("[*]" , True , [True ], ["[0]" ]),
233- ("[*]" , False , [False ], ["[0]" ]),
234- ("[*]" , "test" , ["test" ], ["[0]" ]),
235- ("[*]" , None , [], []),
236230 ("[*]" , [1 , 2 , 3 ], [1 , 2 , 3 ], ["[0]" , "[1]" , "[2]" ]),
237231 ("[*]" , range (1 , 4 ), [1 , 2 , 3 ], ["[0]" , "[1]" , "[2]" ]),
238232 ("[1:]" , [1 , 2 , 3 , 4 ], [2 , 3 , 4 ], ["[1]" , "[2]" , "[3]" ]),
@@ -247,6 +241,11 @@ def test_update(parse: Callable[[str], JSONPath], expression: str, data, update_
247241 # --------------------
248242 #
249243 ("[*]" , 1 , [1 ], ["[0]" ]),
244+ ("[*]" , 1.2 , [1.2 ], ["[0]" ]),
245+ ("[*]" , True , [True ], ["[0]" ]),
246+ ("[*]" , False , [False ], ["[0]" ]),
247+ ("[*]" , "test" , ["test" ], ["[0]" ]),
248+ ("[*]" , None , [], []),
250249 ("[0:]" , 1 , [1 ], ["[0]" ]),
251250 ("[*]" , {"foo" : 1 }, [{"foo" : 1 }], ["[0]" ]),
252251 ("[*].foo" , {"foo" : 1 }, [1 ], ["[0].foo" ]),
0 commit comments