Skip to content

Commit

Permalink
fix: syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
gerardroche committed Jan 5, 2024
1 parent 2eca906 commit c80b227
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion res/text-ui-result.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -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}}$'
Expand Down
7 changes: 7 additions & 0 deletions tests/syntax_test-text-ui-result
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c80b227

Please sign in to comment.