diff options
Diffstat (limited to 'test/-ext-/iseq_load')
-rw-r--r-- | test/-ext-/iseq_load/test_iseq_load.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/-ext-/iseq_load/test_iseq_load.rb b/test/-ext-/iseq_load/test_iseq_load.rb index 7251603b0a..5dfd69a863 100644 --- a/test/-ext-/iseq_load/test_iseq_load.rb +++ b/test/-ext-/iseq_load/test_iseq_load.rb @@ -86,6 +86,15 @@ class TestIseqLoad < Test::Unit::TestCase assert_iseq_roundtrip(src) end + def test_kwarg + assert_iseq_roundtrip <<-'end;' + def foo(kwarg: :foo) + kwarg + end + foo(kwarg: :bar) + end; + end + # FIXME: still failing def test_require_integration skip "iseq loader require integration tests still failing" |