I think this last line really needs to be:
  if bad condition
    fail
  end

because the line is so long that the test condition at the end is too long and gets lost or obscured. That was true before this change though.