@@ -242,18 +242,18 @@ var _ = Describe("JSON Commands", Label("json"), func() {
242
242
Expect (cmd .Val ()).To (Equal ("OK" ))
243
243
})
244
244
245
- It ("should JSONGet" , Label ("json.get" , "json" ), func () {
245
+ It ("should JSONGet" , Label ("json.get" , "json" , "NonRedisEnterprise" ), func () {
246
246
res , err := client .JSONSet (ctx , "get3" , "$" , `{"a": 1, "b": 2}` ).Result ()
247
247
Expect (err ).NotTo (HaveOccurred ())
248
248
Expect (res ).To (Equal ("OK" ))
249
249
250
250
res , err = client .JSONGetWithArgs (ctx , "get3" , & redis.JSONGetArgs {Indent : "-" }).Result ()
251
251
Expect (err ).NotTo (HaveOccurred ())
252
- Expect (res ).To (Equal (`[-{-- "a":1,-- "b":2-}] ` ))
252
+ Expect (res ).To (Equal (`{- "a":1,-"b":2} ` ))
253
253
254
254
res , err = client .JSONGetWithArgs (ctx , "get3" , & redis.JSONGetArgs {Indent : "-" , Newline : `~` , Space : `!` }).Result ()
255
255
Expect (err ).NotTo (HaveOccurred ())
256
- Expect (res ).To (Equal (`[~- {~-- "a":!1,~-- "b":!2~-}~] ` ))
256
+ Expect (res ).To (Equal (`{~-"a":!1,~-"b":!2~} ` ))
257
257
})
258
258
259
259
It ("should JSONMerge" , Label ("json.merge" , "json" ), func () {
0 commit comments