Skip to content

Commit 213ad60

Browse files
authored
Merge pull request #9354 from ruby/skip-warn-realworld
Suppress unnecessary warns for Windows tag group
2 parents 7c541a2 + 98a355d commit 213ad60

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bundler/spec/spec_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def self.ruby=(ruby)
142142

143143
config.before(:context) do |example|
144144
metadata = example.class.metadata
145-
if metadata[:type] != :aruba && metadata.keys.none? {|k| Spec::WindowsTagGroup::EXAMPLE_MAPPINGS.keys.include?(k) }
145+
if metadata[:type] != :aruba && !metadata[:realworld] && metadata.keys.none? {|k| Spec::WindowsTagGroup::EXAMPLE_MAPPINGS.keys.include?(k) }
146146
warn "#{metadata[:file_path]} is not assigned to any Windows runner group. see spec/support/windows_tag_group.rb for details."
147147
end
148148
end unless Spec::Path.ruby_core?

0 commit comments

Comments
 (0)