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 1c09abf + 3383754 commit 4a489e9Copy full SHA for 4a489e9
src/main/scala/stdlib/TypeSignatures.scala
@@ -50,7 +50,7 @@ object TypeSignatures extends FlatSpec with Matchers with exercise.Section {
50
*/
51
def deriveMetaInformationTypeSignatures(res0: Boolean, res1: String, res2: String) {
52
val zoom = "zoom"
53
- zoom.getClass should be(classOf[String])
+ zoom.isInstanceOf[String] should be(res0)
54
zoom.getClass.getCanonicalName should be(res1)
55
zoom.getClass.getSimpleName should be(res2)
56
}
0 commit comments