Skip to content

Commit 137d68a

Browse files
committed
Remove the superficial localization from a test that did not actually use it.
1 parent a6ac147 commit 137d68a

File tree

1 file changed

+1
-41
lines changed

1 file changed

+1
-41
lines changed

RubberduckTests/VBEditor/Variants/VariantConverterTests.cs

Lines changed: 1 addition & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,7 @@ public object Test_ObjectConversion_SimpleValues(object value, Type targetType)
232232
[TestCase(-0.5d, typeof(DateTime), ExpectedResult = "1899-12-30 12:00:00")]
233233
public string Test_ObjectConversion_SimpleValues_To_Date(object value, Type targetType)
234234
{
235-
var culture = new CultureInfo("en-US");
236-
var result = VariantConverter.ChangeType(value, targetType, culture);
237-
235+
var result = VariantConverter.ChangeType(value, targetType);
238236
if (result is DateTime dt)
239237
{
240238
return dt.ToString(TheOneTrueDateFormat);
@@ -414,43 +412,5 @@ public void Test_ObjectConversion_IConvertible_Null()
414412
var result = VariantConverter.ChangeType(convertible, VARENUM.VT_EMPTY);
415413
Assert.IsNull(result);
416414
}
417-
418-
/*
419-
[Test]
420-
public void Test_Array_Conversion()
421-
{
422-
var array = new List<byte>
423-
{
424-
0x48,
425-
0x00,
426-
0x65,
427-
0x00,
428-
0x6C,
429-
0x00,
430-
0x6C,
431-
0x00,
432-
0x6F,
433-
0x00,
434-
0x2C,
435-
0x00,
436-
0x20,
437-
0x00,
438-
0x77,
439-
0x00,
440-
0x6F,
441-
0x00,
442-
0x72,
443-
0x00,
444-
0x6C,
445-
0x00,
446-
0x64,
447-
0x00,
448-
0x21,
449-
0x00
450-
};
451-
var result = VariantConversion.VariantChangeType(array, VARENUM.VT_BSTR);
452-
Assert.AreEqual("Hello, world!", result);
453-
}
454-
*/
455415
}
456416
}

0 commit comments

Comments
 (0)