We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4a489e9 + bcba7a3 commit 6fdaf7dCopy full SHA for 6fdaf7d
src/main/scala/stdlib/Tuples.scala
@@ -42,7 +42,7 @@ object Tuples extends FlatSpec with Matchers with exercise.Section {
42
43
/** You can assign multiple variables at once using tuples:
44
*/
45
- def assignVariablesTuples(res0: String, res1: Int, res2: Float) {
+ def assignVariablesTuples(res0: String, res1: Int, res2: Double) {
46
val student = ("Sean Rogers", 21, 3.5)
47
val (name, age, gpa) = student
48
src/test/scala/exercises/stdlib/TuplesSpec.scala
@@ -31,7 +31,7 @@ class TuplesSpec extends Spec with Checkers {
31
check(
32
Test.testSuccess(
33
Tuples.assignVariablesTuples _,
34
- "Sean Rogers" :: 21 :: 3.5F :: HNil
+ "Sean Rogers" :: 21 :: 3.5D :: HNil
35
)
36
37
}
0 commit comments