aboutsummaryrefslogtreecommitdiffstats
path: root/Test
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2016-08-08 17:25:28 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2016-08-08 17:25:28 +0200
commit8fb4bc6da267518c274d51e23d25569b7edba927 (patch)
tree1454b55a71486b6158802b2a2e10f106396c1f00 /Test
parenta4a5cdd172cd9a004cd088037981931e367869c7 (diff)
downloadCompiler-8fb4bc6da267518c274d51e23d25569b7edba927.zip
Compiler-8fb4bc6da267518c274d51e23d25569b7edba927.tar.gz
Compiler-8fb4bc6da267518c274d51e23d25569b7edba927.tar.bz2
Test: Use `::class` instead of string classnames.
Diffstat (limited to 'Test')
-rw-r--r--Test/Integration/Llk/Documentation.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/Test/Integration/Llk/Documentation.php b/Test/Integration/Llk/Documentation.php
index c7c26da..8ea3758 100644
--- a/Test/Integration/Llk/Documentation.php
+++ b/Test/Integration/Llk/Documentation.php
@@ -116,12 +116,12 @@ GRAMMAR;
->exception(function () use (&$compiler) {
$compiler->parse('\'foo"', null, false);
})
- ->isInstanceOf('Hoa\Compiler\Exception\UnexpectedToken')
+ ->isInstanceOf(LUT\Exception\UnexpectedToken::class)
->exception(function () use (&$compiler) {
$compiler->parse('"foo\'', null, false);
})
- ->isInstanceOf('Hoa\Compiler\Exception\UnexpectedToken');
+ ->isInstanceOf(LUT\Exception\UnexpectedToken::class);
}
public function case_unification_palindrome()
@@ -162,6 +162,6 @@ GRAMMAR;
->exception(function () use (&$compiler) {
$compiler->parse('abcdcba', null, false);
})
- ->isInstanceOf('Hoa\Compiler\Exception\UnexpectedToken');
+ ->isInstanceOf(LUT\Exception\UnexpectedToken::class);
}
}