module Cucumber::Formatter::Console

def print_passing_wip(options)

def print_passing_wip(options)
  return unless options[:wip]
  passed = runtime.scenarios(:passed)
  if passed.any?
    @io.puts format_string("\nThe --wip switch was used, so I didn't expect anything to pass. These scenarios passed:", :failed)
    print_elements(passed, :passed, "scenarios")
  else
    @io.puts format_string("\nThe --wip switch was used, so the failures were expected. All is good.\n", :passed)
  end
end