File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ def binding_of_caller
22
22
end
23
23
24
24
it "gives read access to local variables at the call site" do
25
- x = 14
25
+ x = 14 # rubocop:disable Lint/UselessAssignment
26
26
binding_of_caller . local_variable_get ( :x ) . should == 14
27
27
end
28
28
@@ -33,7 +33,7 @@ def binding_of_caller
33
33
end
34
34
35
35
it "works through #send" do
36
- x = 14
36
+ x = 14 # rubocop:disable Lint/UselessAssignment
37
37
Truffle ::Binding . send ( :of_caller ) . local_variable_get ( :x ) . should == 14
38
38
end
39
39
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ def source_of_caller
26
26
end
27
27
28
28
it "works through #send" do
29
- x = 14
30
29
Truffle ::Boot . send ( :source_of_caller ) . should == __FILE__
31
30
end
32
31
Original file line number Diff line number Diff line change 72
72
reference = TruffleRuby ::AtomicReference . new ( :value )
73
73
dumped = Marshal . dump ( reference )
74
74
loaded = Marshal . load ( dumped )
75
- reference . get . should == :value
75
+ loaded . get . should == :value
76
76
end
77
77
78
78
end
You can’t perform that action at this time.
0 commit comments