@@ -185,7 +185,7 @@ func TestScratchSetInMap(t *testing.T) {
185
185
scratch .SetInMap ("key" , "zyx" , "Zyx" )
186
186
scratch .SetInMap ("key" , "abc" , "Abc (updated)" )
187
187
scratch .SetInMap ("key" , "def" , "Def" )
188
- c .Assert (scratch .GetSortedMapValues ("key" ), qt .DeepEquals , []any {0 : "Abc (updated)" , 1 : "Def" , 2 : "Lux" , 3 : "Zyx" })
188
+ c .Assert (scratch .GetSortedMapValues ("key" ), qt .DeepEquals , any ( []any {"Abc (updated)" , "Def" , "Lux" , "Zyx" }) )
189
189
}
190
190
191
191
func TestScratchDeleteInMap (t * testing.T ) {
@@ -199,7 +199,7 @@ func TestScratchDeleteInMap(t *testing.T) {
199
199
scratch .DeleteInMap ("key" , "abc" )
200
200
scratch .SetInMap ("key" , "def" , "Def" )
201
201
scratch .DeleteInMap ("key" , "lmn" ) // Do nothing
202
- c .Assert (scratch .GetSortedMapValues ("key" ), qt .DeepEquals , []any {0 : "Def" , 1 : "Lux" , 2 : "Zyx" })
202
+ c .Assert (scratch .GetSortedMapValues ("key" ), qt .DeepEquals , any ( []any {"Def" , "Lux" , "Zyx" }) )
203
203
}
204
204
205
205
func TestScratchGetSortedMapValues (t * testing.T ) {
0 commit comments