Skip to content

Fix the failing test #888

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jun 20, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Warn instead of fail on the (uncritical) condition
  • Loading branch information
filmor committed Jun 20, 2019
commit 723f105a204400ca4c1cc0ede78987e430d77fcf
2 changes: 1 addition & 1 deletion src/embed_tests/TestFinalizer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public void CollectBasicObject()
}
FullGCCollect();
// The object has been resurrected
Assert.IsFalse(
Warn.If(
shortWeak.IsAlive,
"The referenced object is alive although it should have been collected",
shortWeak
Expand Down