Skip to content

Commit 72910ce

Browse files
committed
Fix the failing tests
1 parent ebcbf19 commit 72910ce

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pbom/io/bb/__test__/nodefilesystem_test.cpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace pboman3::io::test {
1212
const PboNode* file = root.createHierarchy(PboPath("e1\t/e2\t/e3\t.txt"));
1313

1414
const QString path = fs.allocatePath(file);
15-
const QString expected = dir.path() + "/e1%09/e2%09/e3%09.txt";
15+
const QString expected = dir.path() + "/e1%9/e2%9/e3%9.txt";
1616

1717
ASSERT_EQ(expected, path);
1818

@@ -29,7 +29,7 @@ namespace pboman3::io::test {
2929
const PboNode* file = f1.createHierarchy(PboPath("e1\t/e2\t/e3\t.txt"));
3030

3131
const QString path = fs.allocatePath(&f1, file);
32-
const QString expected = dir.path() + "/e1%09/e2%09/e3%09.txt";
32+
const QString expected = dir.path() + "/e1%9/e2%9/e3%9.txt";
3333

3434
ASSERT_EQ(expected, path);
3535

@@ -55,8 +55,8 @@ namespace pboman3::io::test {
5555
const PboNode* file = root.createHierarchy(PboPath("e1\t/e2\t/e3\t.txt"));
5656

5757
const QString path = fs.composeAbsolutePath(file);
58-
const QString expected = dir.path() + QDir::separator() + "e1%09" + QDir::separator() + "e2%09" + QDir::separator() +
59-
"e3%09.txt";
58+
const QString expected = dir.path() + QDir::separator() + "e1%9" + QDir::separator() + "e2%9" + QDir::separator() +
59+
"e3%9.txt";
6060

6161
ASSERT_EQ(expected, path);
6262

@@ -72,7 +72,7 @@ namespace pboman3::io::test {
7272
const PboNode* file = root.createHierarchy(PboPath("e1\t/e2\t/e3\t.txt"));
7373

7474
const QString path = fs.composeRelativePath(file);
75-
const QString expected = QString("e1%09") + QDir::separator() + "e2%09" + QDir::separator() + "e3%09.txt";
75+
const QString expected = QString("e1%9") + QDir::separator() + "e2%9" + QDir::separator() + "e3%9.txt";
7676

7777
ASSERT_EQ(expected, path);
7878
}

0 commit comments

Comments
 (0)