Skip to content

Commit d077140

Browse files
author
Rafa Paradela
committed
Update options.json
1 parent bf85f44 commit d077140

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/json/options.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
},
5858
{
5959
"preparagraph": "Another operation is `fold`. this operation will extract the value from the option, or provide a default if the value is `None`",
60-
"code": "val number: Option[Int] = Some(3)\nval noNumber: Option[Int] = None\nval result1 = number.fold(0)(_ * 3)val result2 = noNumber.fold(0)(_ * 3)\n\nresult1 should be(__)\nresult2 should be(__)",
60+
"code": "val number: Option[Int] = Some(3)\nval noNumber: Option[Int] = None\nval result1 = number.fold(0)(_ * 3)\nval result2 = noNumber.fold(0)(_ * 3)\n\nresult1 should be(__)\nresult2 should be(__)",
6161
"solutions": [
6262
"9",
6363
"0"

0 commit comments

Comments
 (0)