diff --git a/CHANGELOG.md b/CHANGELOG.md index 44f6891..b479c5c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles. +## 3.18.3 - Unreleased + +### Fixed + +- Syntax fixes + ## 3.18.2 - 2023-11-12 ### Fixed diff --git a/res/text-ui-result.sublime-syntax b/res/text-ui-result.sublime-syntax index e17cd62..0d556ce 100644 --- a/res/text-ui-result.sublime-syntax +++ b/res/text-ui-result.sublime-syntax @@ -91,7 +91,7 @@ contexts: - match: '^{{cc}}OK, but incomplete, skipped, or risky tests\!{{cc}}$' scope: region.orangish phpunitkit test.footer.ok-but-incomplete-skipped-or-risky.phpunit-result - - match: '^{{cc}}OK, but (?:there are issues|some tests were skipped)\!{{cc}}$' + - match: '^{{cc}}OK, but (?:there (?:are|were) issues|some tests were skipped)\!{{cc}}$' scope: region.orangish phpunitkit test.footer.ok-but-incomplete-skipped-or-risky.phpunit-result push: - match: '^{{cc}}Tests\: \d+, Assertions\: \d+(?:, (?:Deprecations|Errors|Failures|Warnings|Notices|Skipped|Incomplete|Risky)\: \d+)+\.{{cc}}$' diff --git a/tests/syntax_test-text-ui-result b/tests/syntax_test-text-ui-result index e633b16..382c740 100644 --- a/tests/syntax_test-text-ui-result +++ b/tests/syntax_test-text-ui-result @@ -128,6 +128,13 @@ Tests: 81, Assertions: 81, Deprecations: 4. #<- region.orangish phpunitkit test.footer.ok-but-incomplete-skipped-or-risky.phpunit-result #^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ region.orangish phpunitkit test.footer.ok-but-incomplete-skipped-or-risky.phpunit-result +OK, but there were issues! +#<- region.orangish phpunitkit test.footer.ok-but-incomplete-skipped-or-risky.phpunit-result +#^^^^^^^^^^^^^^^^^^^^^^^^^ region.orangish phpunitkit test.footer.ok-but-incomplete-skipped-or-risky.phpunit-result +Tests: 2, Assertions: 2, Risky: 2. +#<- region.orangish phpunitkit test.footer.ok-but-incomplete-skipped-or-risky.phpunit-result +#^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ region.orangish phpunitkit test.footer.ok-but-incomplete-skipped-or-risky.phpunit-result + OK, but some tests were skipped! # ^ region.orangish phpunitkit test.footer.ok-but-incomplete-skipped-or-risky.phpunit-result Tests: 31, Assertions: 41, Skipped: 6.