Skip to content

Commit 4a489e9

Browse files
authored
Merge pull request #22 from kjhoerr/patch-2
fix unused parameter
2 parents 1c09abf + 3383754 commit 4a489e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/stdlib/TypeSignatures.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ object TypeSignatures extends FlatSpec with Matchers with exercise.Section {
5050
*/
5151
def deriveMetaInformationTypeSignatures(res0: Boolean, res1: String, res2: String) {
5252
val zoom = "zoom"
53-
zoom.getClass should be(classOf[String])
53+
zoom.isInstanceOf[String] should be(res0)
5454
zoom.getClass.getCanonicalName should be(res1)
5555
zoom.getClass.getSimpleName should be(res2)
5656
}

0 commit comments

Comments
 (0)