Skip to content

Commit 8d15e51

Browse files
committed
add test_comment_00
one-element array with comment, for issue open-source-parsers#103
1 parent 9fbd12b commit 8d15e51

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

test/data/test_comment_00.expected

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// Comment for array
2+
.=[]
3+
// Comment within array
4+
.[0]="one-element"

test/data/test_comment_00.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// Comment for array
2+
[
3+
// Comment within array
4+
"one-element"
5+
]

0 commit comments

Comments
 (0)