diff --git a/bootstraptest/test_insns.rb b/bootstraptest/test_insns.rb index 31fdc29d024641..937305a51debf5 100644 --- a/bootstraptest/test_insns.rb +++ b/bootstraptest/test_insns.rb @@ -120,6 +120,7 @@ class X; def to_a; ['u']; end; end [ 'dup', %q{ x = y = true; x }, ], [ 'dupn', %q{ Object::X ||= true }, ], [ 'reverse', %q{ q, (w, e), r = 1, [2, 3], 4; e == 3 }, ], + [ 'swap', %q{ defined?([[]]) }, ], [ 'swap', <<-'},', ], # { x = [[false, true]] for i, j in x # here