Skip to content

Commit ff3565c

Browse files
committed
PR comment: Simplify changes to TypeCacheSerializerTest
1 parent 6a5c039 commit ff3565c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/System.Web.Mvc.Test/Test/TypeCacheSerializerTest.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

44
using System.Collections.Generic;
5+
using System.Globalization;
56
using System.IO;
67
using Microsoft.TestCommon;
78

@@ -138,7 +139,8 @@ public void SerializeTypes()
138139
+ " </assembly>" + Environment.NewLine
139140
+ "</typeCache>";
140141

141-
string expected = String.Format(expectedFormat,
142+
string expected = String.Format(CultureInfo.InvariantCulture,
143+
expectedFormat,
142144
expectedDate /* lastModified */,
143145
GetMvidForType(typeof(TypeCacheSerializer)) /* mvcVersionId */,
144146
_mscorlibAsmFullName /* assembly.name */,

0 commit comments

Comments
 (0)