Skip to content

Commit 521f9c0

Browse files
committed
[GR-32856] Only expect Kernel#loop to be in the profile
PullRequest: truffleruby/2903
2 parents 548afe3 + 7591b95 commit 521f9c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/truffle/tools_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def foo
7070
RUBY
7171
out = ruby_exe(code, options: "--cpusampler")
7272
out.should.include?(":kill")
73-
out.should.include?("block (2 levels) in Object#foo")
73+
out.should.include?("Kernel#loop")
7474
out.should_not.include?('KillException')
7575
$?.should.success?
7676
end

0 commit comments

Comments
 (0)