Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90adb39 commit fbaf55dCopy full SHA for fbaf55d
lib/coderay/encoders/debug_lint.rb
@@ -35,7 +35,7 @@ def begin_group kind
35
end
36
37
def end_group kind
38
- raise IncorrectTokenGroupNesting, "We are inside #{@opened.inspect}, not #{kind}" if @opened.pop != kind
+ raise IncorrectTokenGroupNesting, "We are inside #{@opened.inspect}, not #{kind} (end_group)" if @opened.pop != kind
39
super
40
41
@@ -45,7 +45,7 @@ def begin_line kind
45
46
47
def end_line kind
48
+ raise IncorrectTokenGroupNesting, "We are inside #{@opened.inspect}, not #{kind} (end_line)" if @opened.pop != kind
49
50
51
0 commit comments