Rename getLastTaskInfo to lastTaskInfo (aligned with currentTaskName)
See gh-25803
This commit is contained in:
@@ -47,7 +47,7 @@ class StopWatchTests {
|
||||
|
||||
@Test
|
||||
void failureToStartBeforeGettingTimings() {
|
||||
assertThatIllegalStateException().isThrownBy(stopWatch::getLastTaskInfo);
|
||||
assertThatIllegalStateException().isThrownBy(stopWatch::lastTaskInfo);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user