Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
better Mojo::JSON tests
  • Loading branch information
kraih committed Mar 22, 2013
1 parent b06ac6b commit af03d95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Changes
@@ -1,5 +1,5 @@

3.92 2013-03-21
3.92 2013-03-22
- Removed deprecated namespace method from Mojolicious::Routes.
- Improved WebSocket send method to stringify objects. (jberger)
- Improved documentation.
Expand Down
1 change: 1 addition & 0 deletions t/mojo/json.t
Expand Up @@ -330,5 +330,6 @@ is $json->decode("[\"foo\",\n\"bar\",\n\"bazra\"]lalala"), undef,
is $json->error,
'Malformed JSON: Unexpected data after array at line 3, offset 8',
'right error';
is j('{'), undef, 'decoding failed';

done_testing();

0 comments on commit af03d95

Please sign in to comment.