@@ -54,6 +54,9 @@ public function testNamespacesCommandCodeIgniterOnly()
5454 | Tests\Support | ROOTPATH/tests/_support | Yes |
5555 +---------------+-------------------------+--------+
5656 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 );
5760
5861 $ this ->assertStringContainsString ($ expected , $ this ->getBuffer ());
5962 }
@@ -63,15 +66,15 @@ public function testNamespacesCommandAllNamespaces()
6366 command ('namespaces ' );
6467
6568 $ this ->assertStringContainsString (
66- '|CodeIgniter|ROOTPATH/ system|Yes| ' ,
69+ '|CodeIgniter|ROOTPATH ' . DIRECTORY_SEPARATOR . ' system|Yes| ' ,
6770 str_replace (' ' , '' , $ this ->getBuffer ())
6871 );
6972 $ this ->assertStringContainsString (
70- '|App|ROOTPATH/ app|Yes| ' ,
73+ '|App|ROOTPATH ' . DIRECTORY_SEPARATOR . ' app|Yes| ' ,
7174 str_replace (' ' , '' , $ this ->getBuffer ())
7275 );
7376 $ this ->assertStringContainsString (
74- '|Config|APPPATH/ Config|Yes| ' ,
77+ '|Config|APPPATH ' . DIRECTORY_SEPARATOR . ' Config|Yes| ' ,
7578 str_replace (' ' , '' , $ this ->getBuffer ())
7679 );
7780 }
0 commit comments