lib/macros4cuke/formatting-service.rb in macros4cuke-0.5.12 vs lib/macros4cuke/formatting-service.rb in macros4cuke-0.5.13
- old
+ new
@@ -30,10 +30,10 @@
def register(aFormatter)
# Get the list of formatted events supported by the formatter
supported_events = aFormatter.implements
# Complain if list is empty or nil
- if supported_events.nil? || supported_events.empty?
+ if supported_events.nil? || supported_events.empty?
fail(NoFormattingEventForFormatter.new(aFormatter))
end
# Check that each event from the event list the formatter is known.
supported_events.each do |event|