diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-02-15 19:26:58 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-02-15 20:34:52 +0900 |
| commit | 4aef87520594a2d77d687c6fb96fa977df348d1a (patch) | |
| tree | a7fd2e0c5a4f066a2a49dbf98f420c771b9d1993 | |
| parent | 1e426bd5e527b5a06dfe52810092a5317866e67a (diff) | |
Surpressing constant redefinition warning
| -rw-r--r-- | spec/default.mspec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/default.mspec b/spec/default.mspec index 09106c0868..cae5fa374f 100644 --- a/spec/default.mspec +++ b/spec/default.mspec @@ -10,7 +10,7 @@ ENV["CHECK_CONSTANT_LEAKS"] ||= "true" require "./rbconfig" unless defined?(RbConfig) require_relative "../tool/test-coverage" if ENV.key?("COVERAGE") load File.dirname(__FILE__) + '/ruby/default.mspec' -OBJDIR = File.expand_path("spec/ruby/optional/capi/ext") +OBJDIR = File.expand_path("spec/ruby/optional/capi/ext") unless defined?(OBJDIR) class MSpecScript @testing_ruby = true |
