UnitTests: Fix errors

Former-commit-id: 7d338bd57e8a083e63c5f6387ff37c81109903ed
This commit is contained in:
Lynix
2016-05-05 21:27:36 +02:00
parent 51549f8526
commit f7b0496d62
13 changed files with 96 additions and 37 deletions

View File

@@ -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));
}
}
}