From 9df069c8628d9c8050fda2f7dd0aba4031fbca70 Mon Sep 17 00:00:00 2001 From: Alex Golub Date: Thu, 21 Apr 2022 11:27:51 +0300 Subject: [PATCH] Typos --- .../junit5vsjunit4assertions/Junit5AssertionsUnitTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testing-modules/junit5-migration/src/test/java/com/baeldung/junit5vsjunit4assertions/Junit5AssertionsUnitTest.java b/testing-modules/junit5-migration/src/test/java/com/baeldung/junit5vsjunit4assertions/Junit5AssertionsUnitTest.java index 27ed1b69a5..1b1b6510fb 100644 --- a/testing-modules/junit5-migration/src/test/java/com/baeldung/junit5vsjunit4assertions/Junit5AssertionsUnitTest.java +++ b/testing-modules/junit5-migration/src/test/java/com/baeldung/junit5vsjunit4assertions/Junit5AssertionsUnitTest.java @@ -70,7 +70,7 @@ class Junit5AssertionsUnitTest { } @Test - void whenAssertingSameObject_thenSuccessfull() { + void whenAssertingSameObject_thenSuccessful() { String language = "Java"; Optional optional = Optional.of(language); @@ -115,7 +115,7 @@ class Junit5AssertionsUnitTest { assertTimeout( ofSeconds(2), () -> { - // code that requires less then 2 minutes to execute + // code that requires less than 2 minutes to execute Thread.sleep(1000); } ); @@ -126,7 +126,7 @@ class Junit5AssertionsUnitTest { assertTimeoutPreemptively( ofSeconds(2), () -> { - // code that requires less then 2 minutes to execute + // code that requires less than 2 minutes to execute Thread.sleep(1000); } );