diff --git a/bootique-job/src/test/java/io/bootique/job/JobTest.java b/bootique-job/src/test/java/io/bootique/job/JobTest.java index fbc85561..71c8de79 100644 --- a/bootique-job/src/test/java/io/bootique/job/JobTest.java +++ b/bootique-job/src/test/java/io/bootique/job/JobTest.java @@ -35,7 +35,7 @@ void getMetadata() { @Test void getMetadataLambda() { Job j = p -> JobResult.succeeded(); - assertTrue(j.getMetadata().getName().startsWith("jobtest$$lambda$"), j.getMetadata().getName()); + assertTrue(j.getMetadata().getName().startsWith("jobtest$$lambda"), j.getMetadata().getName()); } static class MyJob implements Job {