Skip to content
This repository
Browse code

add Object#is_a: to FancySpec

  • Loading branch information...
commit 907606d40a7e1ec3edd520d2a9a93f18d5a78b71 1 parent 7748b8d
Christopher Bertels authored

Showing 1 changed file with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. +4 0 lib/fancy_spec.fy
4 lib/fancy_spec.fy
@@ -431,6 +431,10 @@ class Object {
431 431 is == expected
432 432 }
433 433
  434 + def is_a: class {
  435 + is_a?: class . is: true
  436 + }
  437 +
434 438 def is_not: expected {
435 439 does_not == expected
436 440 }

0 comments on commit 907606d

Please sign in to comment.
Something went wrong with that request. Please try again.