Skip to content

Commit

Permalink
Re-enable tests
Browse files Browse the repository at this point in the history
  • Loading branch information
icy-arctic-fox committed Jul 26, 2024
1 parent 6b10920 commit 6bb7c5e
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions spec/spectator/matchers/built_in/be_instance_of_matcher_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -125,23 +125,23 @@ Spectator.describe BeInstanceOfMatcher do
# MESSAGE
# end

# it "matches if the object is a sub-type" do
# expect do
# expect(Derived.new).not_to be_instance_of(Base)
# end.to pass_check
# end
it "matches if the object is a sub-type" do
expect do
expect(Derived.new).not_to be_instance_of(Base)
end.to pass_check
end

# it "matches if the object is a parent type" do
# expect do
# expect(Base.new).not_to be_instance_of(Derived)
# end.to pass_check
# end
it "matches if the object is a parent type" do
expect do
expect(Base.new).not_to be_instance_of(Derived)
end.to pass_check
end

# it "matches if the object is an unrelated type" do
# expect do
# expect("foo").not_to be_instance_of(Int32)
# end.to pass_check
# end
it "matches if the object is an unrelated type" do
expect do
expect("foo").not_to be_instance_of(Int32)
end.to pass_check
end
end
end
end
Expand Down

0 comments on commit 6bb7c5e

Please sign in to comment.