Skip to content
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.

Commit

Permalink
Test: Specify file type with hoa://Test/Vfs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan committed Oct 29, 2015
1 parent d8843e4 commit 2a793ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Test/Unit/Documentation.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
)
Expand Down
6 changes: 3 additions & 3 deletions Test/Unit/Llk/Llk.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
)
Expand Down Expand Up @@ -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)
)
Expand Down Expand Up @@ -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)
)
Expand Down

0 comments on commit 2a793ee

Please sign in to comment.