Skip to content

Commit

Permalink
Add missing test
Browse files Browse the repository at this point in the history
  • Loading branch information
tidwall committed Dec 29, 2022
1 parent f8fd148 commit ae3e549
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/keys_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ func keys_FSET_test(mc *mockServer) error {
Do("SET", "mykey", "myid", "HASH", "9my5xp7").OK(),
Do("DEL", "mykey", "myid").Str("1"),
Do("GET", "mykey", "myid").Str("<nil>"),
Do("SET", "mykey", "myid", "HASH", "9my5xp7").OK(),
Do("CONFIG", "SET", "maxmemory", "1").OK(),
Do("FSET", "mykey", "myid", "xx", "f1", 1.1, "f2", 2.2).Err(`OOM command not allowed when used memory > 'maxmemory'`),
Do("CONFIG", "SET", "maxmemory", "0").OK(),
Expand Down

0 comments on commit ae3e549

Please sign in to comment.