summaryrefslogtreecommitdiff
path: root/test/lib/iseq_loader_checker.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/iseq_loader_checker.rb')
-rw-r--r--test/lib/iseq_loader_checker.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/iseq_loader_checker.rb b/test/lib/iseq_loader_checker.rb
index 675b658..8fdbca3 100644
--- a/test/lib/iseq_loader_checker.rb
+++ b/test/lib/iseq_loader_checker.rb
@@ -43,7 +43,7 @@ class RubyVM::InstructionSequence
def self.translate i1
# check to_a/load_iseq
- i2_ary = compare_dump_and_load(i1,
+ compare_dump_and_load(i1,
proc{|iseq|
ary = iseq.to_a
ary[9] == :top ? ary : nil
@@ -57,7 +57,7 @@ class RubyVM::InstructionSequence
proc{|iseq|
begin
iseq.to_binary
- rescue RuntimeError => e # not a toplevel
+ rescue RuntimeError # not a toplevel
# STDERR.puts [:failed, e, iseq].inspect
nil
end