Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/main/scala/scalatutorial/sections/TermsAndTypes.scala
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ object TermsAndTypes extends ScalaTutorialSection {
* - What is the result of the concatenation of the texts “Hello, ” and “Scala!”?
*
* {{{
* "Hello, " ++ "Scala!"
* "Hello, " + "Scala!"
* }}}
*
* = Evaluation =
Expand All @@ -93,7 +93,7 @@ object TermsAndTypes extends ScalaTutorialSection {
*/
def evaluation(res0: Int, res1: String): Unit = {
1 + 2 shouldBe res0
"Hello, " ++ "Scala!" shouldBe res1
"Hello, " + "Scala!" shouldBe res1
}

/**
Expand Down