Skip to content

Commit 303eff0

Browse files
authored
Merge pull request #39 from scala-exercises/al-minor-fixes
Minor syntactic fixes
2 parents f37d74b + 377f515 commit 303eff0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/main/scala/stdlib/Asserts.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ object Asserts extends FlatSpec with Matchers with exercise.Section {
88

99
/** ScalaTest makes three assertions available by default in any style trait. You can use:
1010
*
11-
* - `assert` for general assertions;
12-
* - `assertResult` to differentiate expected from actual values;
13-
* - `intercept` to ensure a bit of code throws an expected exception.
11+
* - `assert` for general assertions;
12+
* - `assertResult` to differentiate expected from actual values;
13+
* - `intercept` to ensure a bit of code throws an expected exception.
1414
*
1515
* In any Scala program, you can write assertions by invoking `assert` and passing in a `Boolean` expression:
1616
*

src/main/scala/stdlib/CaseClasses.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import org.scalatest._
66
*/
77
object CaseClasses extends FlatSpec with Matchers with exercise.Section {
88

9-
/** Scala supports the notion of _case classes_. Case classes are regular classes which export their constructor parameters and which provide a recursive decomposition mechanism via pattern matching.
9+
/** Scala supports the notion of ''case classes''. Case classes are regular classes which export their constructor parameters and which provide a recursive decomposition mechanism via pattern matching.
1010
*
1111
* Here is an example for a class hierarchy which consists of an abstract super class `Term` and three concrete case classes `Var`, `Fun`, and `App`.
1212
*

0 commit comments

Comments
 (0)