@@ -54,6 +54,9 @@ public function testNamespacesCommandCodeIgniterOnly()
54
54
| Tests\Support | ROOTPATH/tests/_support | Yes |
55
55
+---------------+-------------------------+--------+
56
56
EOL;
57
+ $ expected = str_replace ('ROOTPATH/ ' , 'ROOTPATH ' . DIRECTORY_SEPARATOR , $ expected );
58
+ $ expected = str_replace ('APPPATH/ ' , 'APPPATH ' . DIRECTORY_SEPARATOR , $ expected );
59
+ $ expected = str_replace ('tests/_support ' , 'tests ' . DIRECTORY_SEPARATOR . '_support ' , $ expected );
57
60
58
61
$ this ->assertStringContainsString ($ expected , $ this ->getBuffer ());
59
62
}
@@ -63,15 +66,15 @@ public function testNamespacesCommandAllNamespaces()
63
66
command ('namespaces ' );
64
67
65
68
$ this ->assertStringContainsString (
66
- '|CodeIgniter|ROOTPATH/ system|Yes| ' ,
69
+ '|CodeIgniter|ROOTPATH ' . DIRECTORY_SEPARATOR . ' system|Yes| ' ,
67
70
str_replace (' ' , '' , $ this ->getBuffer ())
68
71
);
69
72
$ this ->assertStringContainsString (
70
- '|App|ROOTPATH/ app|Yes| ' ,
73
+ '|App|ROOTPATH ' . DIRECTORY_SEPARATOR . ' app|Yes| ' ,
71
74
str_replace (' ' , '' , $ this ->getBuffer ())
72
75
);
73
76
$ this ->assertStringContainsString (
74
- '|Config|APPPATH/ Config|Yes| ' ,
77
+ '|Config|APPPATH ' . DIRECTORY_SEPARATOR . ' Config|Yes| ' ,
75
78
str_replace (' ' , '' , $ this ->getBuffer ())
76
79
);
77
80
}
0 commit comments