aboutsummaryrefslogtreecommitdiffstats
path: root/Test
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2015-10-29 22:07:56 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2015-10-29 22:07:56 +0100
commit2a793ee5c297aa0a9a22b0f13e82a8665ee5d5a6 (patch)
tree7bcb11c63756ebe0a7d0035aac5c3e59eb731f6e /Test
parentd8843e44e212c8c10e305fca83167d89689c0b0c (diff)
downloadCompiler-2a793ee5c297aa0a9a22b0f13e82a8665ee5d5a6.zip
Compiler-2a793ee5c297aa0a9a22b0f13e82a8665ee5d5a6.tar.gz
Compiler-2a793ee5c297aa0a9a22b0f13e82a8665ee5d5a6.tar.bz2
Test: Specify file type with `hoa://Test/Vfs`.
Diffstat (limited to 'Test')
-rw-r--r--Test/Unit/Documentation.php2
-rw-r--r--Test/Unit/Llk/Llk.php6
2 files changed, 4 insertions, 4 deletions
diff --git a/Test/Unit/Documentation.php b/Test/Unit/Documentation.php
index 99b31bc..f29cf31 100644
--- a/Test/Unit/Documentation.php
+++ b/Test/Unit/Documentation.php
@@ -106,7 +106,7 @@ GRAMMAR;
$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 623feea..6e16994 100644
--- a/Test/Unit/Llk/Llk.php
+++ b/Test/Unit/Llk/Llk.php
@@ -62,7 +62,7 @@ GRAMMAR;
$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 @@ GRAMMAR;
$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 @@ GRAMMAR;
$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)
)