From 6ba25fdfae944a57650c6926dda6509552daa5a5 Mon Sep 17 00:00:00 2001 From: Jonathan Shook Date: Thu, 1 Feb 2024 20:25:01 -0600 Subject: [PATCH] fix broken test --- .../library/basics/shared/from_long/to_string/ConcatTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/virtdata-lib-basics/src/test/java/io/nosqlbench/virtdata/library/basics/shared/from_long/to_string/ConcatTest.java b/virtdata-lib-basics/src/test/java/io/nosqlbench/virtdata/library/basics/shared/from_long/to_string/ConcatTest.java index 12bea5735..ae39c8ab4 100644 --- a/virtdata-lib-basics/src/test/java/io/nosqlbench/virtdata/library/basics/shared/from_long/to_string/ConcatTest.java +++ b/virtdata-lib-basics/src/test/java/io/nosqlbench/virtdata/library/basics/shared/from_long/to_string/ConcatTest.java @@ -32,7 +32,8 @@ class ConcatTest { @Test public void testMismatchedInserts() { - assertThrows(RuntimeException.class, () -> new Concat((c, s) -> c+s, "{}")); + Concat c = new Concat("{}"); + assertThat(c.apply(3L)).isEqualTo("v:3"); } @Test