diff options
Diffstat (limited to 'mcs/class/corlib/Test/System.Collections/ComparerTest.cs')
-rw-r--r-- | mcs/class/corlib/Test/System.Collections/ComparerTest.cs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/mcs/class/corlib/Test/System.Collections/ComparerTest.cs b/mcs/class/corlib/Test/System.Collections/ComparerTest.cs index c6353f4ec6a..c1591fc3402 100644 --- a/mcs/class/corlib/Test/System.Collections/ComparerTest.cs +++ b/mcs/class/corlib/Test/System.Collections/ComparerTest.cs @@ -42,7 +42,16 @@ namespace MonoTests.System.Collections { Assert(c.Compare (3, 2) > 0);
}
-
+ + [Test] + public void Invariant () + { + Comparer c = Comparer.DefaultInvariant; + + Assert (c.Compare ("a", "A") > 0); + } + + }
}
|