From 377f5159ab6095fa1349ad6fde838fd212b4da1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20G=C3=B3mez?= Date: Mon, 4 Jul 2016 17:51:44 +0200 Subject: [PATCH] Minor syntactic fixes --- src/main/scala/stdlib/Asserts.scala | 6 +++--- src/main/scala/stdlib/CaseClasses.scala | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/scala/stdlib/Asserts.scala b/src/main/scala/stdlib/Asserts.scala index 88d9c709..5e210d14 100644 --- a/src/main/scala/stdlib/Asserts.scala +++ b/src/main/scala/stdlib/Asserts.scala @@ -8,9 +8,9 @@ object Asserts extends FlatSpec with Matchers with exercise.Section { /** ScalaTest makes three assertions available by default in any style trait. You can use: * - * - `assert` for general assertions; - * - `assertResult` to differentiate expected from actual values; - * - `intercept` to ensure a bit of code throws an expected exception. + * - `assert` for general assertions; + * - `assertResult` to differentiate expected from actual values; + * - `intercept` to ensure a bit of code throws an expected exception. * * In any Scala program, you can write assertions by invoking `assert` and passing in a `Boolean` expression: * diff --git a/src/main/scala/stdlib/CaseClasses.scala b/src/main/scala/stdlib/CaseClasses.scala index 7206afd6..e83fd096 100644 --- a/src/main/scala/stdlib/CaseClasses.scala +++ b/src/main/scala/stdlib/CaseClasses.scala @@ -6,7 +6,7 @@ import org.scalatest._ */ object CaseClasses extends FlatSpec with Matchers with exercise.Section { - /** 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. + /** 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. * * 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`. *