Skip to content

Commit

Permalink
fix: add test to make sure INCR stores string value and not int
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-gang committed Jun 14, 2024
1 parent b665420 commit f89d1ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/test_txn_incr2.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@ func testTxIncr2(stageHarness *test_case_harness.TestCaseHarness) error {
Commands: [][]string{
{"INCR", randomKey},
{"INCR", randomKey},
{"GET", randomKey},
},
Assertions: []resp_assertions.RESPAssertion{
resp_assertions.NewIntegerAssertion(1),
resp_assertions.NewIntegerAssertion(2),
resp_assertions.NewStringAssertion("2"),
},
}

Expand Down

0 comments on commit f89d1ff

Please sign in to comment.