Skip to content

Commit c8fcade

Browse files
committed
Fix windows failures.
Path canonicalization on Windows strips disallowed characters from the filename, in this case `.` was stripped causing the failure. https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#naming-conventions
1 parent e7c356b commit c8fcade

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tiledb/sm/filesystem/test/unit_uri.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,13 +325,13 @@ TEST_CASE("URI: Test is_timestamped_name", "[uri][is_timestamped_name]") {
325325
{"___1_035477e475b011ac8c2f01a13532cca", false},
326326
{"_1_1_035477e475b011ac8c2f01a13532ccad", false},
327327
{"__1_1_035477e475b011ac8c2f01a13532ccad.", false},
328-
{"__1_1_035477e475b011a_c8c2f01a13532ccad.", false},
328+
{"__1_1_035477e475b011a_c8c2f01a13532ccad.vaC", false},
329329
{"", false},
330330
{"______", false},
331331
{"__1_2_3", false},
332332
};
333333
for (const auto& test : test_uris) {
334-
URI uri(test.first);
334+
URI uri(test.first, false);
335335
DYNAMIC_SECTION("URI: " << test.first) {
336336
CHECK(uri.is_timestamped_name() == test.second);
337337
}

0 commit comments

Comments
 (0)