~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to external/ngit/NGit.Test/NGit.Api/NotesCommandTest.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
                public virtual void TestListNotes()
82
82
                {
83
83
                        IList<Note> notes = git.NotesList().Call();
84
 
                        NUnit.Framework.Assert.IsTrue(notes.Count == 1);
 
84
                        NUnit.Framework.Assert.AreEqual(1, notes.Count);
85
85
                }
86
86
 
87
87
                /// <exception cref="System.Exception"></exception>
95
95
                        NUnit.Framework.Assert.AreEqual(content, "data");
96
96
                        git.NotesRemove().SetObjectId(commit2).Call();
97
97
                        IList<Note> notes = git.NotesList().Call();
98
 
                        NUnit.Framework.Assert.IsTrue(notes.Count == 1);
 
98
                        NUnit.Framework.Assert.AreEqual(1, notes.Count);
99
99
                }
100
100
        }
101
101
}