@@ -232,7 +232,6 @@ var _ = Describe("Commands", func() {
232232		})
233233
234234		It ("should ClientSetInfo" , func () {
235- 
236235			pipe  :=  client .Pipeline ()
237236
238237			// Test setting the libName 
@@ -413,7 +412,6 @@ var _ = Describe("Commands", func() {
413412		})
414413
415414		It ("should filter commands by ACL category" , func () {
416- 
417415			filter  :=  & redis.FilterBy {
418416				ACLCat : "admin" ,
419417			}
@@ -580,7 +578,6 @@ var _ = Describe("Commands", func() {
580578			n , err  =  client .Exists (ctx , "key" ).Result ()
581579			Expect (err ).NotTo (HaveOccurred ())
582580			Expect (n ).To (Equal (int64 (0 )))
583- 
584581		})
585582
586583		It ("should Keys" , func () {
@@ -727,7 +724,6 @@ var _ = Describe("Commands", func() {
727724		})
728725
729726		It ("should PExpireTime" , func () {
730- 
731727			// The command returns -1 if the key exists but has no associated expiration time. 
732728			// The command returns -2 if the key does not exist. 
733729			pExpireTime  :=  client .PExpireTime (ctx , "key" )
@@ -966,7 +962,6 @@ var _ = Describe("Commands", func() {
966962		})
967963
968964		It ("should ExpireTime" , func () {
969- 
970965			// The command returns -1 if the key exists but has no associated expiration time. 
971966			// The command returns -2 if the key does not exist. 
972967			expireTimeCmd  :=  client .ExpireTime (ctx , "key" )
@@ -988,7 +983,6 @@ var _ = Describe("Commands", func() {
988983		})
989984
990985		It ("should TTL" , func () {
991- 
992986			// The command returns -1 if the key exists but has no associated expire 
993987			// The command returns -2 if the key does not exist. 
994988			ttl  :=  client .TTL (ctx , "key" )
@@ -2042,7 +2036,6 @@ var _ = Describe("Commands", func() {
20422036		})
20432037
20442038		It ("should ACL LOG" , func () {
2045- 
20462039			err  :=  client .Do (ctx , "acl" , "setuser" , "test" , ">test" , "on" , "allkeys" , "+get" ).Err ()
20472040			Expect (err ).NotTo (HaveOccurred ())
20482041
@@ -2073,7 +2066,6 @@ var _ = Describe("Commands", func() {
20732066			limitedLogEntries , err  :=  client .ACLLog (ctx , 2 ).Result ()
20742067			Expect (err ).NotTo (HaveOccurred ())
20752068			Expect (len (limitedLogEntries )).To (Equal (2 ))
2076- 
20772069		})
20782070
20792071		It ("should ACL LOG RESET" , func () {
@@ -2087,7 +2079,6 @@ var _ = Describe("Commands", func() {
20872079			Expect (err ).NotTo (HaveOccurred ())
20882080			Expect (len (logEntries )).To (Equal (0 ))
20892081		})
2090- 
20912082	})
20922083
20932084	Describe ("hashes" , func () {
@@ -2699,7 +2690,6 @@ var _ = Describe("Commands", func() {
26992690			Expect (err ).NotTo (HaveOccurred ())
27002691			Expect (key ).To (Equal ("list2" ))
27012692			Expect (val ).To (Equal ([]string {"a" , "b" , "c" , "d" }))
2702- 
27032693		})
27042694
27052695		It ("should BLMPopBlocks" , func () {
@@ -2721,15 +2711,15 @@ var _ = Describe("Commands", func() {
27212711			case  <- done :
27222712				Fail ("BLMPop is not blocked" )
27232713			case  <- time .After (time .Second ):
2724- 				//ok 
2714+ 				//  ok 
27252715			}
27262716
27272717			_ , err  :=  client .LPush (ctx , "list_list" , "a" ).Result ()
27282718			Expect (err ).NotTo (HaveOccurred ())
27292719
27302720			select  {
27312721			case  <- done :
2732- 				//ok 
2722+ 				//  ok 
27332723			case  <- time .After (time .Second ):
27342724				Fail ("BLMPop is still blocked" )
27352725			}
@@ -4184,7 +4174,6 @@ var _ = Describe("Commands", func() {
41844174		})
41854175
41864176		It ("should ZMPop" , func () {
4187- 
41884177			err  :=  client .ZAdd (ctx , "zset" , redis.Z {Score : 1 , Member : "one" }).Err ()
41894178			Expect (err ).NotTo (HaveOccurred ())
41904179			err  =  client .ZAdd (ctx , "zset" , redis.Z {Score : 2 , Member : "two" }).Err ()
@@ -4256,11 +4245,9 @@ var _ = Describe("Commands", func() {
42564245				Score :  6 ,
42574246				Member : "six" ,
42584247			}}))
4259- 
42604248		})
42614249
42624250		It ("should BZMPop" , func () {
4263- 
42644251			err  :=  client .ZAdd (ctx , "zset" , redis.Z {Score : 1 , Member : "one" }).Err ()
42654252			Expect (err ).NotTo (HaveOccurred ())
42664253			err  =  client .ZAdd (ctx , "zset" , redis.Z {Score : 2 , Member : "two" }).Err ()
@@ -4360,15 +4347,15 @@ var _ = Describe("Commands", func() {
43604347			case  <- done :
43614348				Fail ("BZMPop is not blocked" )
43624349			case  <- time .After (time .Second ):
4363- 				//ok 
4350+ 				//  ok 
43644351			}
43654352
43664353			err  :=  client .ZAdd (ctx , "list_list" , redis.Z {Score : 1 , Member : "one" }).Err ()
43674354			Expect (err ).NotTo (HaveOccurred ())
43684355
43694356			select  {
43704357			case  <- done :
4371- 				//ok 
4358+ 				//  ok 
43724359			case  <- time .After (time .Second ):
43734360				Fail ("BZMPop is still blocked" )
43744361			}
@@ -6928,7 +6915,6 @@ var _ = Describe("Commands", func() {
69286915
69296916			close (started )
69306917		})
6931- 
69326918	})
69336919
69346920	Describe ("SlowLogGet" , func () {
@@ -6949,7 +6935,6 @@ var _ = Describe("Commands", func() {
69496935			Expect (len (result )).NotTo (BeZero ())
69506936		})
69516937	})
6952- 
69536938})
69546939
69556940type  numberStruct  struct  {
0 commit comments