lib/messages_comparator.rb in cucumber-compatibility-kit-9.1.0 vs lib/messages_comparator.rb in cucumber-compatibility-kit-9.1.1
- old
+ new
@@ -60,9 +60,10 @@
return unless found.is_a?(Cucumber::Messages::Message)
return if found.is_a?(Cucumber::Messages::GherkinDocument)
return if found.is_a?(Cucumber::Messages::Pickle)
return if found.is_a?(Cucumber::Messages::Timestamp) && expected.is_a?(Cucumber::Messages::Timestamp)
return if found.is_a?(Cucumber::Messages::Duration) && expected.is_a?(Cucumber::Messages::Duration)
+ return if ENV['CI'] && found.is_a?(Cucumber::Messages::Ci) && expected.nil?
@compared << found.class.name
@all_errors << @validator.compare(found, expected)
compare_sub_messages(found, expected)
end