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 c139130 commit ff9dfb3Copy full SHA for ff9dfb3
packages/framework/tests/Unit/CustomExceptionsTest.php
@@ -136,6 +136,13 @@ public function testParseExceptionWithTxtExtension()
136
$this->assertSame("Invalid data in file: 'example.txt'", $exception->getMessage());
137
}
138
139
+ public function testParseExceptionWithJsonExtension()
140
+ {
141
+ $exception = new ParseException('example.json');
142
+
143
+ $this->assertSame("Invalid Json in file: 'example.json'", $exception->getMessage());
144
+ }
145
146
public function testParseExceptionWithUnsupportedExtension()
147
{
148
$exception = new ParseException('example.foo');
0 commit comments