Skip to content

Commit 27e6f5d

Browse files
authored
Fix test suite
1 parent bc02039 commit 27e6f5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/JsonParserTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public function testErrorOnUnterminatedString()
9999
$parser->parse('{"bar": "foo}');
100100
$this->fail('Invalid unterminated string should be detected');
101101
} catch (ParsingException $e) {
102-
$this->assertContains('Invalid string, it appears you forgot to terminated the string, or attempted to write a multiline string which is invalid', $e->getMessage());
102+
$this->assertContains('Invalid string, it appears you forgot to terminate a string, or attempted to write a multiline string which is invalid', $e->getMessage());
103103
}
104104
}
105105

@@ -111,7 +111,7 @@ public function testErrorOnMultilineString()
111111
bar"}');
112112
$this->fail('Invalid multi-line string should be detected');
113113
} catch (ParsingException $e) {
114-
$this->assertContains('Invalid string, it appears you forgot to terminated the string, or attempted to write a multiline string which is invalid', $e->getMessage());
114+
$this->assertContains('Invalid string, it appears you forgot to terminate a string, or attempted to write a multiline string which is invalid', $e->getMessage());
115115
}
116116
}
117117

0 commit comments

Comments
 (0)