8000 test for nested interpolation in hash keys, too · rubychan/coderay-scanner-tests@8ce80cf · GitHub
[go: up one dir, main page]

Skip to content

Commit 8ce80cf

Browse files
committed
test for nested interpolation in hash keys, too
1 parent 6ddf240 commit 8ce80cf

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

ruby/ruby2.expected.raydebug

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ operator({)key<delimiter(')content(ke)char(\\')content(y)char(\\\\)delimiter(')>
114114
operator({)key<delimiter(")content(key)delimiter(")>operator(:) integer(6)operator(})
115115
operator({)key<delimiter(")content(k)char(\\e)content(y)char(\\\\)escape(#)global_variable($.)escape(#)global_variable($")escape(#)class_variable(@@test)escape(#)global_variable($\\)delimiter(")>operator(:) integer(6)operator(})
116116
operator({)key<delimiter(")content(key)inline<inline_delimiter(#{)ident(blob)inline_delimiter(})>delimiter(")>operator(:) integer(6)operator(})
117+
operator({)key<delimiter(")content(key)inline<inline_delimiter(#{)operator({)ident(blob)operator(})inline_delimiter(})>delimiter(")>operator(:) integer(6)operator(})
117118

118119

119120
comment(# Ruby 2.3)

ruby/ruby2.in.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ def self.ratio(a, b)
114114
{"key": 6}
115115
{"k\ey\\#$.#$"#@@test#$\": 6}
116116
{"key#{blob}": 6}
117+
{"key#{{blob}}": 6}
117118

118119

119120
# Ruby 2.3

0 commit comments

Comments
 (0)
0