Skip to content

Commit

Permalink
Workaround limitation of ancient nunit
Browse files Browse the repository at this point in the history
  • Loading branch information
marek-safar committed Jul 31, 2013
1 parent b6da6da commit 8ffb6b1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ public void Serialization_Deserialization ()
TimeZoneInfo.AdjustmentRule deserialized = (TimeZoneInfo.AdjustmentRule) formatter.Deserialize (stream);
stream.Close ();
stream.Dispose ();
Assert.AreEqual (rule, deserialized);

Assert.IsTrue (rule.Equals (deserialized));
}
}
}
Expand Down

0 comments on commit 8ffb6b1

Please sign in to comment.