File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 66
77 let ( :parser ) { described_class . new ( input ) }
88
9- # Requirement: Allow // and /**/ comments
9+ # Requirement: Allow // and /**/ comments (covered by JSON.parse by default)
1010 context 'with comments' do
1111 context 'with single-line // comments' do
1212 let ( :input ) do
4141 end
4242 end
4343
44- # Requirement: Allow unescaped newlines
44+ # Requirement: Allow unescaped newlines (covered by JSON.parse allow_control_characters: true)
4545 context 'with unescaped control characters' do
4646 context 'with literal newlines' do
4747 let ( :input ) do
6565 end
6666 end
6767
68- # Requirement: Allow trailing commas
68+ # Requirement: Allow trailing commas (covered by JSON.parse allow_trailing_comma: true)
6969 context 'with trailing commas' do
7070 context 'when in objects' do
7171 let ( :input ) do
You can’t perform that action at this time.
0 commit comments