FlexTradeUKLtd / jfixture-scala

Customisations for JFixture to make it more useful when writing Scala
3 stars 4 forks source link

matching primitives without using toString #5

Closed pwfcurry closed 7 years ago

pwfcurry commented 7 years ago

claassOf[Int] results in java primitive "int" at runtime hence why "case x if x == classOf[Int]" doesn't work

richkeenan commented 7 years ago

Thanks very much for your contribution @pwfcurry