projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[WindowsBase] Use InvariantCulture for ConvertTo/ToString tests
[mono.git]
/
mcs
/
class
/
WindowsBase
/
Test
/
System.Windows
/
RectConverterTest.cs
diff --git
a/mcs/class/WindowsBase/Test/System.Windows/RectConverterTest.cs
b/mcs/class/WindowsBase/Test/System.Windows/RectConverterTest.cs
index 3d2b6b12a72e4e2a0699e0053ee4f28333d977d0..0e1161c9dca8921b133010f28d07e3c4eb483a79 100644
(file)
--- a/
mcs/class/WindowsBase/Test/System.Windows/RectConverterTest.cs
+++ b/
mcs/class/WindowsBase/Test/System.Windows/RectConverterTest.cs
@@
-24,6
+24,7
@@
//
using System;
//
using System;
+using System.Globalization;
using System.Windows;
using System.Windows.Media;
using NUnit.Framework;
using System.Windows;
using System.Windows.Media;
using NUnit.Framework;
@@
-92,7
+93,7
@@
namespace MonoTests.System.Windows {
Rect rect = new Rect (0, 0, 1, 2);
Rect rect = new Rect (0, 0, 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 ("0,0,1,2", (string)o);
Assert.AreEqual (typeof (string), o.GetType());
Assert.AreEqual ("0,0,1,2", (string)o);