Skip to content

Commit

Permalink
tests: split history tests into smaller ones
Browse files Browse the repository at this point in the history
FossilOrigin-Name: e5ebc536ace924a74904c25914580ca1d7011c2e4bdbdaa200520fb908483f86
  • Loading branch information
thindil committed May 23, 2024
1 parent a454dcd commit 3baf71e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/history.nim
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ suite "Unit tests for history module":
showHistory(db = db, arguments = "list") ==
QuitSuccess

test "Finding text in the shell's history":
checkpoint "Finding an exising entry in the history"
test "Finding an exising entry in the history":
check:
findInHistory(db = db, arguments = "find te") ==
QuitSuccess
checkpoint "Finding a non-exising entry in the history"

test "Finding a non-exising entry in the history":
check:
findInHistory(db = db, arguments = "find asd") == QuitFailure

Expand Down

0 comments on commit 3baf71e

Please sign in to comment.