Skip to content

Commit

Permalink
refactor: updated variable to constant
Browse files Browse the repository at this point in the history
FossilOrigin-Name: cec28dbe0cac9d551c16336598ff1a9371075936cc8da107d9c3868e309c84a4
  • Loading branch information
thindil committed May 10, 2024
1 parent a03f863 commit 49ce6d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/input.nim
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ suite "Unit tests for input module":
cursorPosition == 0

test "Moving the cursor":
let inputString: UserInput = "my text"
const inputString: UserInput = "my text"
var cursorPosition: Natural = 1
moveCursor(inputChar = 'D', cursorPosition = cursorPosition,
inputString = inputString, db = db)
Expand Down

0 comments on commit 49ce6d5

Please sign in to comment.