Skip to content

Commit 7263eeb

Browse files
committed
add more info for some tests
1 parent 7901fb8 commit 7263eeb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/json_mend/parser_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
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
@@ -41,7 +41,7 @@
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
@@ -65,7 +65,7 @@
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

0 commit comments

Comments
 (0)