Skip to content

Commit

Permalink
Add code review comments on tests not corrected as they are disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
chamons committed Jul 27, 2022
1 parent 02f4555 commit e970880
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/monotouch-test/Foundation/NSArray1Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ public void GetDifferenceFromArrayTest ()
return first.ToString ().Equals (second.ToString ());
});
}, "Not throws");
// https://github.com/xamarin/xamarin-macios/issues/15577 - Did not rewrite tests that were disabled
// Maybe assert that we get a specific diff result as well?
Assert.NotNull (diff, "Not null");
}
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ public void InsertionsAndRemovalsTest ()
Assert.DoesNotThrow (() => {
var r = diff.Removals;
});
// https://github.com/xamarin/xamarin-macios/issues/15577 - Did not rewrite tests that were disabled
// Any reason for not asserting on the returned value?
// Assert.AreEqual (1, diff.Insertions.Length, "insertions");
// (or whatever it's supposed to return)
}
}
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ public void InsertionsAndRemovalsTest ()
Assert.DoesNotThrow (() => {
var r = diff.Removals;
});
// https://github.com/xamarin/xamarin-macios/issues/15577 - Did not rewrite tests that were disabled
// Any reason for not asserting on the returned value?
// Assert.AreEqual (1, diff.Insertions.Length, "insertions");
// (or whatever it's supposed to return)
}
}
#endif
Expand Down

0 comments on commit e970880

Please sign in to comment.