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

github.com/mono/guiunit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUngureanu Marius <teromario@yahoo.com>2013-11-01 09:34:52 +0400
committerUngureanu Marius <teromario@yahoo.com>2013-11-01 09:34:52 +0400
commit1fe9c1e7f5675a1cbdd9d8cc8c9b93df070501b6 (patch)
treea7bbeb0b3bbe1f3fc1398472c16542a092b129b9
parent8c672f30b6d90e878ebafeb2e518dec35e92c56a (diff)
parent4f41dd79c278e38fdc653e1b84e838b78fb43427 (diff)
Merge pull request #5 from Therzok/fixConditional
Fix two wrong conditionals.
-rwxr-xr-xsrc/framework/Internal/MethodHelper.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/framework/Internal/MethodHelper.cs b/src/framework/Internal/MethodHelper.cs
index 780eaf8..21e6654 100755
--- a/src/framework/Internal/MethodHelper.cs
+++ b/src/framework/Internal/MethodHelper.cs
@@ -135,7 +135,7 @@ namespace NUnit.Framework.Internal
long l = (long)arg;
if (l == long.MinValue)
display = "long.MinValue";
- else if (l == long.MinValue)
+ else if (l == long.MaxValue)
display = "long.MaxValue";
else
display += "L";
@@ -145,7 +145,7 @@ namespace NUnit.Framework.Internal
ulong ul = (ulong)arg;
if (ul == ulong.MinValue)
display = "ulong.MinValue";
- else if (ul == ulong.MinValue)
+ else if (ul == ulong.MaxValue)
display = "ulong.MaxValue";
else
display += "UL";