diff options
author | Andrey Andreev <narf@devilix.net> | 2022-01-05 16:16:53 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2022-01-05 16:16:53 +0100 |
commit | 1d0315b6b3d7003bfb348ccaf7ee30d2533635de (patch) | |
tree | c2957406d056e1ee17b6073b06c1732cd1a8c646 /tests/codeigniter/helpers/text_helper_test.php | |
parent | 39da78b2588a60a2f43fb8f77448ab9604550978 (diff) |
Bye Travis, Hello GH Actions
Diffstat (limited to 'tests/codeigniter/helpers/text_helper_test.php')
-rw-r--r-- | tests/codeigniter/helpers/text_helper_test.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/codeigniter/helpers/text_helper_test.php b/tests/codeigniter/helpers/text_helper_test.php index 7a7dc0a12..5be1837b8 100644 --- a/tests/codeigniter/helpers/text_helper_test.php +++ b/tests/codeigniter/helpers/text_helper_test.php @@ -64,6 +64,11 @@ class Text_helper_test extends CI_TestCase { public function test_convert_accented_characters() { + if (substr(PHP_VERSION, 0, 3) === '7.4') + { + return $this->markTestSkipped('For some reason all PHP 7.4 instances on GitHub Actions trigger a parse error when foreign_chars.php is loaded'); + } + $this->ci_vfs_clone('application/config/foreign_chars.php'); $this->assertEquals('AAAeEEEIIOOEUUUeY', convert_accented_characters('ÀÂÄÈÊËÎÏÔŒÙÛÜŸ')); $this->assertEquals('a e i o u n ue', convert_accented_characters('á é í ó ú ñ ü')); @@ -171,4 +176,4 @@ class Text_helper_test extends CI_TestCase { $this->assertEquals(strpos(word_wrap($string), "\n"), 73); } -}
\ No newline at end of file +} |