Skip to content
Browse files

small whitespace parsing tests

  • Loading branch information...
1 parent 299249d commit 3f3a6796d14c1433e8cbdde666307a75fd1a46c5 @moritz committed
Showing with 4 additions and 0 deletions.
  1. +4 −0 t/01-parse.t
View
4 t/01-parse.t
@@ -5,12 +5,16 @@ use JSON::Tiny::Grammar;
use Test;
my @t =
+ '{}',
'{ }',
'{ "a" : "b" }',
'{ "a" : null }',
'{ "a" : true }',
'{ "a" : false }',
'{ "a" : { } }',
+ '[]',
+ '[ ]',
+ ' [ ] ',
# stolen from JSON::XS, 18_json_checker.t, and adapted a bit
Q<<[
"JSON Test Pattern pass1",

0 comments on commit 3f3a679

Please sign in to comment.
Something went wrong with that request. Please try again.