From 2a793ee5c297aa0a9a22b0f13e82a8665ee5d5a6 Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Thu, 29 Oct 2015 22:07:56 +0100 Subject: [PATCH] Test: Specify file type with `hoa://Test/Vfs`. --- Test/Unit/Documentation.php | 2 +- Test/Unit/Llk/Llk.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Test/Unit/Documentation.php b/Test/Unit/Documentation.php index 99b31bce..f29cf31c 100644 --- a/Test/Unit/Documentation.php +++ b/Test/Unit/Documentation.php @@ -106,7 +106,7 @@ public function case_whole_process() $this ->given( - $grammar = new File\ReadWrite('hoa://Test/Vfs/Json.pp'), + $grammar = new File\ReadWrite('hoa://Test/Vfs/Json.pp?type=file'), $grammar->writeAll($_grammar), $compiler = LUT\Llk::load($grammar) ) diff --git a/Test/Unit/Llk/Llk.php b/Test/Unit/Llk/Llk.php index 623feeaf..6e16994a 100644 --- a/Test/Unit/Llk/Llk.php +++ b/Test/Unit/Llk/Llk.php @@ -62,7 +62,7 @@ public function case_without_unification() $this ->given( - $grammar = new File\ReadWrite('hoa://Test/Vfs/WithoutUnification.pp'), + $grammar = new File\ReadWrite('hoa://Test/Vfs/WithoutUnification.pp?type=file'), $grammar->writeAll($_grammar), $compiler = LUT\Llk::load($grammar) ) @@ -99,7 +99,7 @@ public function case_unification() $this ->given( - $grammar = new File\ReadWrite('hoa://Test/Vfs/Unification.pp'), + $grammar = new File\ReadWrite('hoa://Test/Vfs/Unification.pp?type=file'), $grammar->writeAll($_grammar), $compiler = LUT\Llk::load($grammar) ) @@ -135,7 +135,7 @@ public function case_unification_palindrome() $this ->given( - $grammar = new File\ReadWrite('hoa://Test/Vfs/Palindrome.pp'), + $grammar = new File\ReadWrite('hoa://Test/Vfs/Palindrome.pp?type=file'), $grammar->writeAll($_grammar), $compiler = LUT\Llk::load($grammar) )