mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-16 04:13:50 +00:00
Fix split_filename_tests on OS X and Unix-like platforms
This commit is contained in:
parent
96102e0e8c
commit
5f82aa8f08
@ -9,6 +9,8 @@
|
||||
|
||||
#include "app/file/split_filename.h"
|
||||
|
||||
#include "base/path.h"
|
||||
|
||||
using namespace app;
|
||||
|
||||
TEST(SplitFilename, Common)
|
||||
@ -17,7 +19,7 @@ TEST(SplitFilename, Common)
|
||||
int width;
|
||||
|
||||
EXPECT_EQ(1, split_filename("C:\\test\\a1.png", left, right, width));
|
||||
EXPECT_EQ("C:\\test\\a", left);
|
||||
EXPECT_EQ(base::fix_path_separators("C:\\test\\a"), base::fix_path_separators(left));
|
||||
EXPECT_EQ(".png", right);
|
||||
EXPECT_EQ(1, width);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user