Skip to content

Commit

Permalink
regex-fix - Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
EJMFarrow committed Jun 6, 2024
1 parent 3dc3997 commit 2e412f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/cli_helper_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -524,9 +524,9 @@ public function test_validation_ignorecat_error(): void {
*/
public function test_validation_ignorecat_replace(): void {
$helper = new fake_cli_helper([]);
$helper->processedoptions = ['token' => 'X', 'manifestpath' => 'path/subpath', 'ignorecat' => '//hello//'];
$helper->processedoptions = ['token' => 'X', 'manifestpath' => 'path/subpath', 'ignorecat' => '//hello\//'];
$helper->validate_and_clean_args();
$this->expectOutputString('');
$this->assertEquals('/hello//', $helper->processedoptions['ignorecat']);
$this->assertEquals('/hello\//', $helper->processedoptions['ignorecat']);
}
}

0 comments on commit 2e412f2

Please sign in to comment.