Skip to content

Commit

Permalink
Fix temp file name generation in filesys_test.bas
Browse files Browse the repository at this point in the history
  • Loading branch information
a740g committed Jun 6, 2024
1 parent fd47c1f commit 12c9bfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/compile_tests/filesystem/filesys_test.bas
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ SYSTEM 1

FUNCTION CreateDummyFile$ (directory AS STRING, extension AS STRING)
DO
DIM fileName AS STRING: fileName = directory + LTRIM$(STR$(100! * (TIMER + RND))) + extension
DIM fileName AS STRING: fileName = directory + LTRIM$(STR$(INT(100! * (TIMER + RND)))) + extension
LOOP WHILE _FILEEXISTS(fileName)

DIM h AS LONG: h = FREEFILE
Expand Down

0 comments on commit 12c9bfa

Please sign in to comment.