Use Supplier variants of Assert
See gh-19864
This commit is contained in:
committed by
Stephane Nicoll
parent
9fbaf7611b
commit
d8e2349e47
@@ -118,7 +118,7 @@ class ModifiedClassPathExtension implements InvocationInterceptor {
|
||||
}
|
||||
}
|
||||
}
|
||||
Assert.state(method != null, "Unable to find " + testClass + "." + testMethodName);
|
||||
Assert.state(method != null, () -> "Unable to find " + testClass + "." + testMethodName);
|
||||
return method;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user