[mono/monodevelop] fde58a48: [Git] Fix a test.
| Newsgroups | gmane.comp.gnome.mono.patches |
|---|---|
| Message-ID | <000001426b595c3d-143de775-6418-4a14-814c-823af7efed65-000000@email.amazonses.com> |
Branch: refs/heads/master
Home: https://github.com/mono/monodevelop
Compare: https://github.com/mono/monodevelop/compare/3b96596f4bbb...fde58a487e39
Commit: fde58a487e3995b45bc970b85883df7330eb2803
Author: Therzok <[email protected]> (Therzok)
Date: 2013-11-18 13:13:22 GMT
URL: https://github.com/mono/monodevelop/commit/fde58a487e3995b45bc970b85883df7330eb2803
[Git] Fix a test.
Changed paths:
M main/src/addins/VersionControl/MonoDevelop.VersionControl.Git.Tests/BaseGitRepositoryTests.cs
Modified: main/src/addins/VersionControl/MonoDevelop.VersionControl.Git.Tests/BaseGitRepositoryTests.cs
===================================================================
@@ -167,9 +167,9 @@ public void TestGitStash ()
var repo2 = (GitRepository)Repo;
AddFile ("file2", "nothing", true, true);
AddFile ("file1", "text", true, false);
- repo2.GetStashes ().Create (null);
+ repo2.GetStashes ().Create (new NullProgressMonitor ());
Assert.IsTrue (!File.Exists (RootCheckout + "file1"), "Stash creation failure");
- repo2.GetStashes ().Pop (null);
+ repo2.GetStashes ().Pop (new NullProgressMonitor ());
VersionInfo vi = repo2.GetVersionInfo (RootCheckout + "file1", VersionInfoQueryFlags.IgnoreCache);
Assert.AreEqual (VersionStatus.ScheduledAdd, vi.Status & VersionStatus.ScheduledAdd, "Stash pop failure");
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches