[sgen] Make sure we don't sweep a block if we're not supposed to
[mono.git] / mcs / class / corlib / Test / System.Globalization / CultureInfoTest.cs
index 41f2b229460786a00653b71f458f1a682e4efdc2..364a8b3f955944c029f0cfa67784d550a1643701 100644 (file)
@@ -428,10 +428,10 @@ namespace MonoTests.System.Globalization
                }
 
                [Test]
-               public void GetCultureInfo_Identifier_Negative ()
+               public void GetCultureInfo_Identifier_Nonpositive ()
                {
                        try {
-                               CultureInfo.GetCultureInfo (-1);
+                               CultureInfo.GetCultureInfo (0);
                                Assert.Fail ("#1");
                        } catch (ArgumentOutOfRangeException ex) {
                                Assert.AreEqual (typeof (ArgumentOutOfRangeException), ex.GetType (), "#2");