cucumber/cucumber-jvm — Issue #159: Diffing a table with an empty list throws wrong error
Author: aslakhellesoy
Created: 2012-01-22 01:56:35+00:00
State: open
Labels: Table

It currently fails with a `java.lang.IndexOutOfBoundsException` in `checkColumns(DataTable a, DataTable b)` where it compares dimensions. Instead it should fail with a `TableDiffException` showing all rows as missing.

Special care should be taken in the (unlikely) event that the table also has 0 rows. In that case the diff should not raise (empty==empty).

@cedric-lamalle assigning this to you to check if you're still interested in helping out. If not, just give me a nod.