Skip to content

Commit 4b14555

Browse files
committed
Reformatted code #2
1 parent d04c209 commit 4b14555

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scala-core-8/src/test/scala-2/com/baeldung/scala/strings/CaseInsensitiveStringComparisonUnitTest.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ import org.scalatest.flatspec.AnyFlatSpec
44
import org.scalatest.matchers.should.Matchers
55

66
class CaseInsensitiveStringComparisonUnitTest extends AnyFlatSpec with Matchers {
7-
87
"operating equals ignore case method on a string" should "return true if strings are the same when ignoring case" in {
98
val str = "Hello World"
109
val result = str.equalsIgnoreCase("hello world")
10+
1111
result should be(true)
1212
}
1313

1414
"operating toLowerCase.contains on a string" should "return if strings are the same when ignoring case" in {
1515
val str = "Hello World"
1616
val result = str.toLowerCase.contains("hello world".toLowerCase)
17+
1718
result should be(true)
1819
}
19-
2020
}

0 commit comments

Comments
 (0)