We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f90848b commit 2bac53bCopy full SHA for 2bac53b
tests/ParsingInputTest.php
@@ -126,10 +126,9 @@ public function testRegexMatched(): void
126
{
127
$input = new ParsingInput('test');
128
129
- $this->expectException(\RuntimeException::class);
130
$this->assertEquals(
131
'te',
132
- $input->consumeRegex('/^t.'),
+ $input->consumeRegex('/^t./'),
133
);
134
}
135
@@ -138,6 +137,6 @@ public function testRegexNotMatched(): void
138
137
139
140
$this->expectException(\RuntimeException::class);
141
- $input->consumeRegex('/^foo');
+ $input->consumeRegex('/^foo/');
142
143
0 commit comments