Skip to content

Commit bae1a85

Browse files
committed
Adapt pretty_str
1 parent 3e7b174 commit bae1a85

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libmamba/tests/src/specs/test_conda_url.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,16 +545,17 @@ namespace
545545
SECTION("file://D:/a/_temp/popen-gw0/some_other_parts")
546546
{
547547
auto url = CondaURL::parse("file://D:/a/_temp/popen-gw0/some_other_parts").value();
548-
REQUIRE(url.pretty_str() == "file:////D:/a/_temp/popen-gw0/some_other_parts");
549548
if (mamba::util::on_win)
550549
{
551550
REQUIRE(url.path() == "/D:/a/_temp/popen-gw0/some_other_parts");
552551
REQUIRE(url.str() == "file:///D:/a/_temp/popen-gw0/some_other_parts");
552+
REQUIRE(url.pretty_str() == "file:///D:/a/_temp/popen-gw0/some_other_parts");
553553
}
554554
else
555555
{
556556
REQUIRE(url.path() == "//D:/a/_temp/popen-gw0/some_other_parts");
557557
REQUIRE(url.str() == "file:////D:/a/_temp/popen-gw0/some_other_parts");
558+
REQUIRE(url.pretty_str() == "file:////D:/a/_temp/popen-gw0/some_other_parts");
558559
}
559560
}
560561

0 commit comments

Comments
 (0)