UnitTests: Fix errors

Former-commit-id: fb2340e5c7c264193f1ac363d6387486215aef7e
This commit is contained in:
Lynix
2016-05-05 21:27:36 +02:00
parent 5e52988d87
commit 385c597434
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));
}
}
}