Skip to content

Commit 6fdaf7d

Browse files
authored
Merge pull request #25 from idarlington/patch-2
PR for issue#19
2 parents 4a489e9 + bcba7a3 commit 6fdaf7d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/scala/stdlib/Tuples.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ object Tuples extends FlatSpec with Matchers with exercise.Section {
4242

4343
/** You can assign multiple variables at once using tuples:
4444
*/
45-
def assignVariablesTuples(res0: String, res1: Int, res2: Float) {
45+
def assignVariablesTuples(res0: String, res1: Int, res2: Double) {
4646
val student = ("Sean Rogers", 21, 3.5)
4747
val (name, age, gpa) = student
4848

src/test/scala/exercises/stdlib/TuplesSpec.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class TuplesSpec extends Spec with Checkers {
3131
check(
3232
Test.testSuccess(
3333
Tuples.assignVariablesTuples _,
34-
"Sean Rogers" :: 21 :: 3.5F :: HNil
34+
"Sean Rogers" :: 21 :: 3.5D :: HNil
3535
)
3636
)
3737
}

0 commit comments

Comments
 (0)