Permalink
Browse files

Fix bug where multiple scenario tables broke the column formatting.

  • Loading branch information...
mattwynne committed Oct 21, 2008
1 parent 6ac160c commit 55d02528cdebe50c1adbd9d39abec11e26acf8e5
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/cucumber/formatters/pretty_formatter.rb
@@ -177,7 +177,7 @@ def padding_spaces(tree_item)
def next_column_index
@current_column ||= -1
@current_column += 1
@current_column = 0 if @current_column == @table_column_widths.size
@current_column = 0 if @current_column >= @table_column_widths.size
@current_column
end

0 comments on commit 55d0252

Please sign in to comment.