Skip to content

Commit

Permalink
Fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
errm committed Feb 26, 2024
1 parent 3dfb6e4 commit 8af4697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/yjit_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# This method should not blow up in any case
expect { described_class.instrument }.not_to raise_error

if defined? RubyVM::YJIT && defined? RubyVM::YJIT.enable
if defined?(RubyVM::YJIT) && defined?(RubyVM::YJIT.enable)

# We want to test that this doesn't blow up when yjit is present but isn't enabled yet
# you need to run the testsuite with yjit disabled for this to work
Expand Down

0 comments on commit 8af4697

Please sign in to comment.