aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2021-12-24 16:44:57 +0800
committerfanquake <fanquake@gmail.com>2022-01-26 22:08:29 +0800
commit5e8975e2694c3178ae73deb28986e1fb5466147e (patch)
tree8920a7bd722531cf1388fbba6fd46368daadac03 /src/test
parent486261dfcb5ea3ec205a632066298ffa492de466 (diff)
fs: consistently use fsbridge for fopen()
Diffstat (limited to 'src/test')
-rw-r--r--src/test/script_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/script_tests.cpp b/src/test/script_tests.cpp
index eacd7ae894..0da296495f 100644
--- a/src/test/script_tests.cpp
+++ b/src/test/script_tests.cpp
@@ -923,7 +923,7 @@ BOOST_AUTO_TEST_CASE(script_build)
}
#ifdef UPDATE_JSON_TESTS
- FILE* file = fopen("script_tests.json.gen", "w");
+ FILE* file = fsbridge::fopen("script_tests.json.gen", "w");
fputs(strGen.c_str(), file);
fclose(file);
#endif