Skip to content

Commit dbbe204

Browse files
fix test names
1 parent c15e3ac commit dbbe204

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/java/org/assertj/core/api/throwable/ThrowableAssert_built_from_Callable_Test.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
public class ThrowableAssert_built_from_Callable_Test {
2424

2525
@Test
26-
public void should_build_ThrowableAssert_with_runtime_exception_thrown_by_runnable_code() {
26+
public void should_build_ThrowableAssert_with_runtime_exception_thrown_by_callable_code() {
2727
// check that actual exception is the one thrown by Callable<Void>#run
2828
assertThatExceptionThrownBy(new Callable<Void>() {
2929
@Override
@@ -34,7 +34,7 @@ public Void call() {
3434
}
3535

3636
@Test
37-
public void should_build_ThrowableAssert_with_throwable_thrown_by_runnable_code() {
37+
public void should_build_ThrowableAssert_with_throwable_thrown_by_callable_code() {
3838
assertThatExceptionThrownBy(new Callable<Void>() {
3939
@Override
4040
public Void call() throws Exception {
@@ -44,7 +44,7 @@ public Void call() throws Exception {
4444
}
4545

4646
@Test
47-
public void should_fail_if_nothing_is_thrown_by_runnable_code() throws Exception {
47+
public void should_fail_if_nothing_is_thrown_by_callable_code() throws Exception {
4848
try {
4949
assertThatExceptionThrownBy(new Callable<Void>() {
5050
@Override

0 commit comments

Comments
 (0)