You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I pulled a fresh copy of the repo and ran the tests, but got seven failed tests right off the bat.
Six of the failures were from the same root problem. Directory Separators are different in windows.
1) League\Plates\EngineTest::testGetTemplatePath
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'vfs://templates\template.php'
+'vfs://templates/template.php'
3) League\Plates\Template\NameTest::testGetPath
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'vfs://templates\template.php'
+'vfs://templates/template.php'
4) League\Plates\Template\NameTest::testGetPathWithFolder
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'vfs://templates/folder\template.php'
+'vfs://templates/folder/template.php'
5) League\Plates\Template\NameTest::testGetPathWithFolderFallback
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'vfs://templates\fallback.php'
+'vfs://templates/fallback.php'
6) League\Plates\Template\TemplateTest::testGetPath
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'vfs://templates\template.php'
+'vfs://templates/template.php'
7) League\Plates\Template\TemplateTest::testRenderDoesNotExist
Failed asserting that exception message 'The template "template" could not be found at "vfs://templates\template.php".' contains 'The template "template" could not be found at "vfs://templates/template.php".'.
The text was updated successfully, but these errors were encountered:
I'm going to close this for now until we have a way to run our tests on Windows. At this point I don't think anything is actually broken with the library, just the tests.
I pulled a fresh copy of the repo and ran the tests, but got seven failed tests right off the bat.
Six of the failures were from the same root problem. Directory Separators are different in windows.
The text was updated successfully, but these errors were encountered: