aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2017-04-26 12:32:40 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2017-04-26 12:32:40 +0200
commitd66c2b05a51cf688b02d5b41f3d5298e8227b008 (patch)
treeeafb8f63c7054c047a66b611651662139def0bc4
parente6326e2739178799b1fe3fdd92029f9517fa17a0 (diff)
downloadUstring-d66c2b05a51cf688b02d5b41f3d5298e8227b008.zip
Ustring-d66c2b05a51cf688b02d5b41f3d5298e8227b008.tar.gz
Ustring-d66c2b05a51cf688b02d5b41f3d5298e8227b008.tar.bz2
Test: Simplify code.
-rw-r--r--Test/Unit/Ustring.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/Test/Unit/Ustring.php b/Test/Unit/Ustring.php
index 612da98..4b257f0 100644
--- a/Test/Unit/Ustring.php
+++ b/Test/Unit/Ustring.php
@@ -69,7 +69,7 @@ class Ustring extends Test\Unit\Suite
->exception(function () {
new LUT();
})
- ->isInstanceOf('Hoa\Ustring\Exception');
+ ->isInstanceOf(LUT\Exception::class);
}
public function case_append_ltr()
@@ -912,7 +912,7 @@ class Ustring extends Test\Unit\Suite
->exception(function () {
LUT::transcode('foo', 'UTF-8');
})
- ->isInstanceOf('Hoa\Ustring\Exception');
+ ->isInstanceOf(LUT\Exception::class);
}
public function case_transcode_and_isUtf8()
@@ -947,7 +947,7 @@ class Ustring extends Test\Unit\Suite
->exception(function () use ($string) {
$string->toAscii();
})
- ->isInstanceOf('Hoa\Ustring\Exception');
+ ->isInstanceOf(LUT\Exception::class);
}
public function case_to_ascii_no_transliterator_no_normalizer_try()