From c946db70e2cdc33a49c6f7839c4df4bddd1df806 Mon Sep 17 00:00:00 2001 From: "Md. Almas Ali" Date: Tue, 4 Jun 2024 02:10:50 +0600 Subject: [PATCH] fix: tests path issues. --- hello.txt | 1 - tests/files.rn | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 hello.txt diff --git a/hello.txt b/hello.txt deleted file mode 100644 index d863439..0000000 --- a/hello.txt +++ /dev/null @@ -1 +0,0 @@ -Lorem ipsum dolor sit amet, consectetur adipiscing elit. \ No newline at end of file diff --git a/tests/files.rn b/tests/files.rn index d482173..ea8aa38 100644 --- a/tests/files.rn +++ b/tests/files.rn @@ -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()