Skip to content

Commit

Permalink
Use equality operator in sample
Browse files Browse the repository at this point in the history
  • Loading branch information
AerialX committed Nov 18, 2013
1 parent 4fb170f commit e00882c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sample/source/main.cpp
Expand Up @@ -59,7 +59,7 @@ static void testFilesystem()
path = path.Combine("sup");
path = path.RootPath("/test");
#if !BRICKS_ENV_WINDOWS
BRICKS_FEATURE_ASSERT(!path.Compare("/test/lol/sup"));
BRICKS_FEATURE_ASSERT(path == "/test/lol/sup");
#endif
Console::GetDefault()->Out->WriteLine(String::Format("Result: %s, filename is %s", path.CString(), path.GetFileName().CString()));
Console::GetDefault()->Out->WriteLine(String::Format("Directory is: %s", path.GetDirectory().CString()));
Expand Down

0 comments on commit e00882c

Please sign in to comment.