Skip to content

Commit 2f3ecd5

Browse files
authored
Merge pull request #128 from Yoric/master
Resolves #124 Test that we can parse array![]
2 parents 7ced467 + 3779fab commit 2f3ecd5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/parse.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,10 @@ fn parse_array() {
118118
true,
119119
Null
120120
]);
121+
122+
assert_eq!(parse("[]").unwrap(), array![]);
123+
124+
assert_eq!(parse("[[]]").unwrap(), array![array![]]);
121125
}
122126

123127
#[test]

0 commit comments

Comments
 (0)