@@ -242,18 +242,18 @@ var _ = Describe("JSON Commands", Label("json"), func() {
242242 Expect (cmd .Val ()).To (Equal ("OK" ))
243243 })
244244
245- It ("should JSONGet" , Label ("json.get" , "json" ), func () {
245+ It ("should JSONGet" , Label ("json.get" , "json" , "NonRedisEnterprise" ), func () {
246246 res , err := client .JSONSet (ctx , "get3" , "$" , `{"a": 1, "b": 2}` ).Result ()
247247 Expect (err ).NotTo (HaveOccurred ())
248248 Expect (res ).To (Equal ("OK" ))
249249
250250 res , err = client .JSONGetWithArgs (ctx , "get3" , & redis.JSONGetArgs {Indent : "-" }).Result ()
251251 Expect (err ).NotTo (HaveOccurred ())
252- Expect (res ).To (Equal (`[-{-- "a":1,-- "b":2-}] ` ))
252+ Expect (res ).To (Equal (`{- "a":1,-"b":2} ` ))
253253
254254 res , err = client .JSONGetWithArgs (ctx , "get3" , & redis.JSONGetArgs {Indent : "-" , Newline : `~` , Space : `!` }).Result ()
255255 Expect (err ).NotTo (HaveOccurred ())
256- Expect (res ).To (Equal (`[~- {~-- "a":!1,~-- "b":!2~-}~] ` ))
256+ Expect (res ).To (Equal (`{~-"a":!1,~-"b":!2~} ` ))
257257 })
258258
259259 It ("should JSONMerge" , Label ("json.merge" , "json" ), func () {
0 commit comments