summaryrefslogtreecommitdiffhomepage
path: root/test/t/codegen.rb
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2016-11-25 09:33:20 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2016-11-25 09:33:20 +0900
commit55842c5a3482d507bae16f14f563a5eadfa0b720 (patch)
tree410dcc9689d96e13a49b735eb85a4ed0b663670c /test/t/codegen.rb
parentd3ff9d31f0ee3775b5ed722515933aa7e79f7659 (diff)
parent73e4f069becaf69707b990d658b34155f8973508 (diff)
downloadmruby-55842c5a3482d507bae16f14f563a5eadfa0b720.tar.gz
mruby-55842c5a3482d507bae16f14f563a5eadfa0b720.zip
resolve conflict; ref #3279
Diffstat (limited to 'test/t/codegen.rb')
-rw-r--r--test/t/codegen.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/t/codegen.rb b/test/t/codegen.rb
index 7d6efdc98..1ac689a82 100644
--- a/test/t/codegen.rb
+++ b/test/t/codegen.rb
@@ -46,3 +46,11 @@ assert('method call with exactly 127 arguments') do
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
)
end
+
+assert('nested empty heredoc') do
+ _, a = nil, <<B
+#{<<A}
+A
+B
+ assert_equal "\n", a
+end