Skip to content

Commit 1a8907b

Browse files
committed
added test cases for Values#value(char... input)
1 parent 1dd1b01 commit 1a8907b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

driver/src/test/java/org/neo4j/driver/internal/ValuesTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ public void shouldConvertPrimitiveArrays() throws Throwable
8080
assertThat( value( new boolean[]{true, false, true} ),
8181
equalTo( (Value) new ListValue( values( true, false, true ) ) ) );
8282

83+
assertThat( value( new char[]{'a', 'b', 'c'} ),
84+
equalTo( (Value) new ListValue( values( 'a', 'b', 'c' ) ) ) );
85+
8386
assertThat( value( new String[]{"a", "b", "c"} ),
8487
equalTo( (Value) new ListValue( values( "a", "b", "c" ) ) ) );
8588
}

0 commit comments

Comments
 (0)