Skip to content

Commit

Permalink
fix: tests path issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
Almas-Ali committed Jun 3, 2024
1 parent 6aa9222 commit c946db7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion hello.txt

This file was deleted.

6 changes: 3 additions & 3 deletions tests/files.rn
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@

var f = File("hello.txt", "w")
var f = File("tests/hello.txt", "w")
f.write("Lorem ipsum dolor sit amet, consectetur adipiscing elit.")
f.close()

f = File("hello.txt", "r")
f = File("tests/hello.txt", "r")
print("------------")
print(f.read())
print("------------")
f.close()

f = File("hello.txt") # No mode == "r"
f = File("tests/hello.txt") # No mode == "r"
print("|> " + f.read(4) + " <|")
print("|> " + f.read(4) + " <|")
f.close()
Expand Down

0 comments on commit c946db7

Please sign in to comment.