Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2014-04-26 17:28:55 +0400
committernulltoken <emeric.fermas@gmail.com>2014-04-26 17:28:55 +0400
commit5a00322dff71e380c1deb54a7fbbed3bfb348abb (patch)
treee850e3434a7faf7e848d2144b844a54a0f77b53c /LibGit2Sharp.Tests
parent989f9535d0e6effc04499de49394387f4f101087 (diff)
Cleanup whitespaces
Diffstat (limited to 'LibGit2Sharp.Tests')
-rw-r--r--LibGit2Sharp.Tests/BranchFixture.cs2
-rw-r--r--LibGit2Sharp.Tests/FetchFixture.cs8
-rw-r--r--LibGit2Sharp.Tests/MergeFixture.cs2
-rw-r--r--LibGit2Sharp.Tests/MetaFixture.cs2
-rw-r--r--LibGit2Sharp.Tests/ReferenceFixture.cs2
5 files changed, 8 insertions, 8 deletions
diff --git a/LibGit2Sharp.Tests/BranchFixture.cs b/LibGit2Sharp.Tests/BranchFixture.cs
index 1f44618c..458624f4 100644
--- a/LibGit2Sharp.Tests/BranchFixture.cs
+++ b/LibGit2Sharp.Tests/BranchFixture.cs
@@ -1008,7 +1008,7 @@ namespace LibGit2Sharp.Tests
EnableRefLog(repo);
var master = repo.Branches["master"];
var newMaster = repo.Branches.Move(master, "new-master");
- AssertRefLogEntry(repo, newMaster.CanonicalName, newMaster.Tip.Id,
+ AssertRefLogEntry(repo, newMaster.CanonicalName, newMaster.Tip.Id,
"branch: renamed refs/heads/master to refs/heads/new-master");
newMaster = repo.Branches.Move(newMaster, "new-master2", null, "MOVE");
diff --git a/LibGit2Sharp.Tests/FetchFixture.cs b/LibGit2Sharp.Tests/FetchFixture.cs
index 0838f469..26b5c046 100644
--- a/LibGit2Sharp.Tests/FetchFixture.cs
+++ b/LibGit2Sharp.Tests/FetchFixture.cs
@@ -87,9 +87,9 @@ namespace LibGit2Sharp.Tests
}
// Perform the actual fetch
- repo.Network.Fetch(remote, new FetchOptions {
+ repo.Network.Fetch(remote, new FetchOptions {
TagFetchMode = TagFetchMode.All,
- OnUpdateTips = expectedFetchState.RemoteUpdateTipsHandler
+ OnUpdateTips = expectedFetchState.RemoteUpdateTipsHandler
});
// Verify the expected
@@ -111,7 +111,7 @@ namespace LibGit2Sharp.Tests
Remote remote = repo.Network.Remotes.Add(remoteName, url);
string refSpec = string.Format("refs/heads/{2}:refs/remotes/{0}/{1}", remoteName, localBranchName, remoteBranchName);
-
+
// Set up structures for the expected results
// and verifying the RemoteUpdateTips callback.
TestRemoteInfo remoteInfo = TestRemoteInfo.TestRemoteInstance;
@@ -121,7 +121,7 @@ namespace LibGit2Sharp.Tests
// Perform the actual fetch
repo.Network.Fetch(remote, new string[] { refSpec }, new FetchOptions {
TagFetchMode = TagFetchMode.None,
- OnUpdateTips = expectedFetchState.RemoteUpdateTipsHandler
+ OnUpdateTips = expectedFetchState.RemoteUpdateTipsHandler
});
// Verify the expected
diff --git a/LibGit2Sharp.Tests/MergeFixture.cs b/LibGit2Sharp.Tests/MergeFixture.cs
index bf1861a3..ae84fb02 100644
--- a/LibGit2Sharp.Tests/MergeFixture.cs
+++ b/LibGit2Sharp.Tests/MergeFixture.cs
@@ -73,7 +73,7 @@ namespace LibGit2Sharp.Tests
Assert.Equal(CurrentOperation.Merge, repo.Info.CurrentOperation);
}
}
-
+
[Theory]
[InlineData(true)]
[InlineData(false)]
diff --git a/LibGit2Sharp.Tests/MetaFixture.cs b/LibGit2Sharp.Tests/MetaFixture.cs
index 49471d25..0c86eccb 100644
--- a/LibGit2Sharp.Tests/MetaFixture.cs
+++ b/LibGit2Sharp.Tests/MetaFixture.cs
@@ -209,7 +209,7 @@ namespace LibGit2Sharp.Tests
!t.IsAbstract &&
t.GetInterfaces().Any(i => i.IsAssignableFrom(typeof(IEnumerable<>))))
.Select(t => t.GetMethod("GetEnumerator"))
- .Where(m =>
+ .Where(m =>
m.ReturnType.Name == "IEnumerator`1" &&
(!m.IsVirtual || m.IsFinal))
.ToList();
diff --git a/LibGit2Sharp.Tests/ReferenceFixture.cs b/LibGit2Sharp.Tests/ReferenceFixture.cs
index 273252a5..9b25d47b 100644
--- a/LibGit2Sharp.Tests/ReferenceFixture.cs
+++ b/LibGit2Sharp.Tests/ReferenceFixture.cs
@@ -648,7 +648,7 @@ namespace LibGit2Sharp.Tests
Assert.Equal(newName, moved.CanonicalName);
Assert.Equal(oldId, moved.ResolveToDirectReference().Target.Id);
- AssertRefLogEntry(repo, newName, moved.ResolveToDirectReference().Target.Id,
+ AssertRefLogEntry(repo, newName, moved.ResolveToDirectReference().Target.Id,
string.Format("reference: renamed {0} to {1}", oldName, newName));
}
}