[WindowsBase] Use InvariantCulture for ConvertTo/ToString tests
[mono.git] / mcs / class / WindowsBase / Test / System.Windows / VectorConverterTest.cs
index 8c2a74496356cf5ce1862fededde8fea5ab4612b..af6dd725aeaad74c2cf6b3548ab45163bc6baf48 100644 (file)
@@ -24,6 +24,7 @@
 //
 
 using System;
+using System.Globalization;
 using System.Windows;
 using System.Windows.Media;
 using NUnit.Framework;
@@ -82,7 +83,7 @@ namespace MonoTests.System.Windows {
 
                        Vector rect = new Vector (1, 2);
 
-                       object o = r.ConvertTo (rect, typeof (string));
+                       object o = r.ConvertTo (null, CultureInfo.InvariantCulture, rect, typeof (string));
                        
                        Assert.AreEqual (typeof (string), o.GetType());
                        Assert.AreEqual ("1,2", (string)o);