Skip to content

Commit 34e8954

Browse files
committed
Escape backslash in string representing Windows path
1 parent e24e948 commit 34e8954

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unit/util/file_util.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ TEST_CASE("concat_dir_file functionality", "[core][util][file_util]")
2727
#endif
2828

2929
#ifdef _WIN32
30-
const std::string qualified_path = "z:\some\path\foo.txt";
30+
const std::string qualified_path = "z:\\some\\path\\foo.txt";
3131
#else
3232
const std::string qualified_path = "/some/path/foo.txt";
3333
#endif

0 commit comments

Comments
 (0)