Skip to content

Commit 2af93f2

Browse files
committed
Dominoes - Update to Scala 2.12.1 - refs #235. Add topics to config.json - refs #125. Change Suite to Test to remain consistent with other exercises.
1 parent 4c585cb commit 2af93f2

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

config.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,10 @@
561561
"slug": "dominoes",
562562
"difficulty": 1,
563563
"topics": [
564+
"Lists",
565+
"Optional values",
566+
"Tuples",
567+
"Games"
564568
]
565569
},
566570
{

exercises/dominoes/build.sbt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
scalaVersion := "2.11.8"
1+
scalaVersion := "2.12.1"
2+
3+
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.1" % "test"
24

3-
libraryDependencies += "org.scalatest" % "scalatest_2.11" % "2.2.5" % "test"

exercises/dominoes/src/test/scala/DominoesSuite.scala renamed to exercises/dominoes/src/test/scala/DominoesTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import org.scalatest.{FunSuite, Matchers}
22

3-
class DominoesSuite extends FunSuite with Matchers {
3+
class DominoesTest extends FunSuite with Matchers {
44

55
test("empty input = empty output") {
66
check(List(), true)

0 commit comments

Comments
 (0)