diff options
author | Ungureanu Marius <teromario@yahoo.com> | 2013-11-01 09:34:52 +0400 |
---|---|---|
committer | Ungureanu Marius <teromario@yahoo.com> | 2013-11-01 09:34:52 +0400 |
commit | 1fe9c1e7f5675a1cbdd9d8cc8c9b93df070501b6 (patch) | |
tree | a7bbeb0b3bbe1f3fc1398472c16542a092b129b9 | |
parent | 8c672f30b6d90e878ebafeb2e518dec35e92c56a (diff) | |
parent | 4f41dd79c278e38fdc653e1b84e838b78fb43427 (diff) |
Merge pull request #5 from Therzok/fixConditional
Fix two wrong conditionals.
-rwxr-xr-x | src/framework/Internal/MethodHelper.cs | 4 |
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"; |