Skip to content

Commit 9b3319d

Browse files
committed
refactor
1 parent 61aab14 commit 9b3319d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/json_mend/parser.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ def parse_string
366366
# * It finds a closing quote
367367
# * It iterated over the entire sequence
368368
# * If we are fixing missing quotes in an object, when it finds the special terminators
369-
string_parts, char = check_rstring_delimiter_missing(
369+
string_parts, char = check_unmatched_delimiters(
370370
string_parts:,
371371
lstring_delimiter:,
372372
rstring_delimiter:,
@@ -482,7 +482,7 @@ def handle_doubled_quotes(
482482
# * It finds a closing quote
483483
# * It iterated over the entire sequence
484484
# * If we are fixing missing quotes in an object, when it finds the special terminators
485-
def check_rstring_delimiter_missing(
485+
def check_unmatched_delimiters(
486486
string_parts:,
487487
lstring_delimiter:,
488488
rstring_delimiter:,

0 commit comments

Comments
 (0)