Skip to content

Commit

Permalink
fix tests for 80-char terms like travis
Browse files Browse the repository at this point in the history
Signed-off-by: Rob Frawley 2nd <rmf@src.run>
  • Loading branch information
robfrawley committed Jul 19, 2018
1 parent 7d482ca commit 67c7ddc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Style/StyleTest.php
Expand Up @@ -465,8 +465,8 @@ public function testAutoCompletion(): void
$stream = $o->getStream();
rewind($stream);
$content = stream_get_contents($stream);
$this->assertRegExp('{Invalid choice answer "z" provided}', $content);
$this->assertRegExp('{Invalid choice answer "bb" provided}', $content);
$this->assertRegExp('{Invalid.+\n?.*choice.+\n?.*answer.+\n?.*"z".+\n?.*provided}', $content);
$this->assertRegExp('{Invalid.+\n?.*choice.+\n?.*answer.+\n?.*"bb".+\n?.*provided}', $content);
}

/**
Expand Down

0 comments on commit 67c7ddc

Please sign in to comment.