UnitTests: Fix errors
Former-commit-id: fb2340e5c7c264193f1ac363d6387486215aef7e
This commit is contained in:
@@ -78,9 +78,9 @@ SCENARIO("File", "[CORE][FILE]")
|
||||
|
||||
THEN("The relative positioning should disappear")
|
||||
{
|
||||
Nz::String containingNoMoreDot = "/resources/Spaceship/spaceship.mtl";
|
||||
REQUIRE(Nz::File::AbsolutePath(containingDot) == containingNoMoreDot);
|
||||
REQUIRE(Nz::File::AbsolutePath(containingDoubleDot) == containingNoMoreDot);
|
||||
Nz::String containingNoMoreDot = Nz::File::NormalizePath("/resources/Spaceship/spaceship.mtl");
|
||||
REQUIRE(Nz::File::AbsolutePath(containingDot).EndsWith(containingNoMoreDot));
|
||||
REQUIRE(Nz::File::AbsolutePath(containingDoubleDot).EndsWith(containingNoMoreDot));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user