aboutsummaryrefslogtreecommitdiff
path: root/tests/documentation
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-08-04 11:58:04 +0100
committergingerBill <bill@gingerbill.org>2024-08-04 11:58:04 +0100
commit97c499dbb40deeef3778c9a20aa2b38d96aa46f1 (patch)
tree66b5ed8c30068770766d8183bfb0951986a628f0 /tests/documentation
parent1d75a612d54f102ef530c1f58546e3cdb239160c (diff)
Begin mapping `os.Error` in the rest of the codebase
Diffstat (limited to 'tests/documentation')
-rw-r--r--tests/documentation/documentation_tester.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/documentation/documentation_tester.odin b/tests/documentation/documentation_tester.odin
index 8a798d6c5..ce1849e1c 100644
--- a/tests/documentation/documentation_tester.odin
+++ b/tests/documentation/documentation_tester.odin
@@ -439,7 +439,7 @@ main :: proc() {
}
save_path := fmt.tprintf("verify/test_%v_%v.odin", test.package_name, code_test_name)
- test_file_handle, err := os.open(save_path, os.O_WRONLY | os.O_CREATE); if err != 0 {
+ test_file_handle, err := os.open(save_path, os.O_WRONLY | os.O_CREATE); if err != nil {
fmt.eprintf("We could not open the file to the path %q for writing\n", save_path)
g_bad_doc = true
continue