Skip to content

Commit c4d5fc9

Browse files
authored
Merge pull request #319 from niklassaers/1.1
Ensure content also contains the last element
2 parents 5e002c2 + 32d2baa commit c4d5fc9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

driver/src/test/java/org/neo4j/driver/v1/tck/DriverComplianceSteps.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,9 @@ public void the_driver_asks_the_server_to_echo_this_map_back() throws Throwable
141141
@Given( "^a list containing$" )
142142
public static void a_list_containing( List<String> table ) throws Throwable
143143
{
144-
List<String> content = table.subList( 1, table.size() - 1 );
144+
List<String> content = table.subList( 1, table.size() );
145+
assertThat( content.size(), equalTo( table.size() - 1 ) );
146+
145147
for ( String value : content )
146148
{
147149
listOfObjects.add( getJavaValueIntAsLong( value ) );

0 commit comments

Comments
 (0)