Commit a6d7cf61 authored by Daniel Lehmberg's avatar Daniel Lehmberg

fix test case

parent a5f023d1
Pipeline #93551 failed with stages
in 2 minutes and 18 seconds
......@@ -44,7 +44,7 @@ public class TestDynamicClassInstantiator {
fail();
} catch (CouldNotInstantiateException e) {
// this is expected
assertTrue(e.getCause() instanceof InstantiationException);
assertTrue(e.getCause() instanceof NoSuchMethodException);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment