Skip to content

Commit

Permalink
Use skip tag
Browse files Browse the repository at this point in the history
  • Loading branch information
icy-arctic-fox committed Aug 16, 2024
1 parent bf12c05 commit 8de72eb
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions spec/spectator/matchers/built_in/be_instance_of_matcher_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,11 @@ Spectator.describe BeInstanceOfMatcher do
MESSAGE
end

it "does not match if the object is a parent type" do
# Enabling this test causes a segfault.
# This only occurs when running all specs, not just this file.
# To reproduce, remove the following `skip` line and run `crystal spec`.
skip "This test causes a segfault for an unknown and unrelated reason."
# Enabling this test causes a segfault.
# This only occurs when running all specs, not just this file.
# To reproduce, remove the following `skip` line and run `crystal spec`.
it "does not match if the object is a parent type",
skip: "This test causes a segfault for an unknown and unrelated reason." do
object = Base.new
expect do
expect(object).to be_instance_of(Derived)
Expand Down Expand Up @@ -132,11 +132,11 @@ Spectator.describe BeInstanceOfMatcher do
end.to pass_check
end

it "matches if the object is a parent type" do
# Enabling this test causes a segfault.
# This only occurs when running all specs, not just this file.
# To reproduce, remove the following `skip` line and run `crystal spec`.
skip "This test causes a segfault for an unknown and unrelated reason."
# Enabling this test causes a segfault.
# This only occurs when running all specs, not just this file.
# To reproduce, remove the following `skip` line and run `crystal spec`.
it "matches if the object is a parent type",
skip: "This test causes a segfault for an unknown and unrelated reason." do
expect do
expect(Base.new).not_to be_instance_of(Derived)
end.to pass_check
Expand Down

0 comments on commit 8de72eb

Please sign in to comment.