Skip to content

Commit

Permalink
fix: 386 platform test
Browse files Browse the repository at this point in the history
Signed-off-by: monkey92t <[email protected]>
  • Loading branch information
monkey92t committed Jan 19, 2023
1 parent 0064199 commit 701b1d0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions commands_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1233,7 +1233,7 @@ var _ = Describe("Commands", func() {
mSet = client.MSet(ctx, &set{
Set1: "val1",
Set2: 1024,
Set3: 2 * time.Minute,
Set3: 2 * time.Millisecond,
Set4: nil,
Set5: map[string]interface{}{"k1": 1},
})
Expand All @@ -1245,7 +1245,7 @@ var _ = Describe("Commands", func() {
Expect(mGet.Val()).To(Equal([]interface{}{
"val1",
"1024",
strconv.Itoa(int(2 * time.Minute.Nanoseconds())),
strconv.Itoa(int(2 * time.Millisecond.Nanoseconds())),
"",
}))
})
Expand Down Expand Up @@ -1296,7 +1296,7 @@ var _ = Describe("Commands", func() {
mSetNX = client.MSetNX(ctx, &set{
Set1: "val1",
Set2: 1024,
Set3: 2 * time.Minute,
Set3: 2 * time.Millisecond,
Set4: nil,
Set5: map[string]interface{}{"k1": 1},
})
Expand Down Expand Up @@ -1956,7 +1956,7 @@ var _ = Describe("Commands", func() {
hSet = client.HSet(ctx, "hash", &set{
Set1: "val1",
Set2: 1024,
Set3: 2 * time.Minute,
Set3: 2 * time.Millisecond,
Set4: nil,
Set5: map[string]interface{}{"k1": 1},
})
Expand All @@ -1968,7 +1968,7 @@ var _ = Describe("Commands", func() {
Expect(hMGet.Val()).To(Equal([]interface{}{
"val1",
"1024",
strconv.Itoa(int(2 * time.Minute.Nanoseconds())),
strconv.Itoa(int(2 * time.Millisecond.Nanoseconds())),
"",
}))
})
Expand Down

0 comments on commit 701b1d0

Please sign in to comment.