From 411c8f889f9bba57ebddd8c569dcd5aa397b67e0 Mon Sep 17 00:00:00 2001 From: "M.P. Korstanje" Date: Thu, 1 Aug 2019 23:13:00 +0200 Subject: [PATCH] datatable: update changelog --- datatable/CHANGELOG.md | 1 + .../datatable/DataTableTypeRegistryTableConverterTest.java | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/datatable/CHANGELOG.md b/datatable/CHANGELOG.md index dc1500a267..f792f4eb7f 100644 --- a/datatable/CHANGELOG.md +++ b/datatable/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Changed * Allow `null` values in `DataTable`. + * Improve handling of tables without header ([#540](https://github.com/cucumber/cucumber/pull/540) [mpkorstanje]) ### Deprecated diff --git a/datatable/java/datatable/src/test/java/io/cucumber/datatable/DataTableTypeRegistryTableConverterTest.java b/datatable/java/datatable/src/test/java/io/cucumber/datatable/DataTableTypeRegistryTableConverterTest.java index 077593fbde..276ad2a966 100644 --- a/datatable/java/datatable/src/test/java/io/cucumber/datatable/DataTableTypeRegistryTableConverterTest.java +++ b/datatable/java/datatable/src/test/java/io/cucumber/datatable/DataTableTypeRegistryTableConverterTest.java @@ -370,8 +370,10 @@ public void convert_to_list_of_object__using_default_converter() { @Test public void convert_to_list_of_primitive() { DataTable table = parse("", - "| 3 | 5 |", - "| 6 | 7 | " + "| 3 |", + "| 5 |", + "| 6 |", + "| 7 |" ); List expected = asList(3, 5, 6, 7);