@@ -41,6 +41,7 @@ public void get_format_should_return_expected_format_provider()
41
41
}
42
42
43
43
[ Theory ]
44
+ [ AssumeCulture ( "en-us" ) ]
44
45
[ MemberData ( nameof ( FormatProvidersData ) ) ]
45
46
public void format_should_allow_null_or_empty_format_string ( ApiVersionFormatProvider provider )
46
47
{
@@ -56,6 +57,7 @@ public void format_should_allow_null_or_empty_format_string( ApiVersionFormatPro
56
57
}
57
58
58
59
[ Theory ]
60
+ [ AssumeCulture ( "en-us" ) ]
59
61
[ MemberData ( nameof ( FormatProvidersData ) ) ]
60
62
public void format_should_return_full_formatted_string_without_optional_components ( ApiVersionFormatProvider provider )
61
63
{
@@ -70,6 +72,7 @@ public void format_should_return_full_formatted_string_without_optional_componen
70
72
}
71
73
72
74
[ Theory ]
75
+ [ AssumeCulture ( "en-us" ) ]
73
76
[ MemberData ( nameof ( FormatProvidersData ) ) ]
74
77
public void format_should_return_full_formatted_string_with_optional_components ( ApiVersionFormatProvider provider )
75
78
{
@@ -84,6 +87,7 @@ public void format_should_return_full_formatted_string_with_optional_components(
84
87
}
85
88
86
89
[ Theory ]
90
+ [ AssumeCulture ( "en-us" ) ]
87
91
[ MemberData ( nameof ( FormatProvidersData ) ) ]
88
92
public void format_should_return_original_string_format_when_argument_cannot_be_formatted ( ApiVersionFormatProvider provider )
89
93
{
@@ -113,6 +117,7 @@ public void format_should_not_allow_malformed_literal_string( ApiVersionFormatPr
113
117
}
114
118
115
119
[ Theory ]
120
+ [ AssumeCulture ( "en-us" ) ]
116
121
[ MemberData ( nameof ( GroupVersionFormatData ) ) ]
117
122
public void format_should_return_formatted_group_version_string ( ApiVersionFormatProvider provider , string format )
118
123
{
@@ -129,6 +134,7 @@ public void format_should_return_formatted_group_version_string( ApiVersionForma
129
134
}
130
135
131
136
[ Theory ]
137
+ [ AssumeCulture ( "en-us" ) ]
132
138
[ MemberData ( nameof ( FormatProvidersData ) ) ]
133
139
public void format_should_return_formatted_minor_version_string ( ApiVersionFormatProvider provider )
134
140
{
@@ -143,6 +149,7 @@ public void format_should_return_formatted_minor_version_string( ApiVersionForma
143
149
}
144
150
145
151
[ Theory ]
152
+ [ AssumeCulture ( "en-us" ) ]
146
153
[ MemberData ( nameof ( FormatProvidersData ) ) ]
147
154
public void format_should_return_formatted_major_version_string ( ApiVersionFormatProvider provider )
148
155
{
@@ -157,6 +164,7 @@ public void format_should_return_formatted_major_version_string( ApiVersionForma
157
164
}
158
165
159
166
[ Theory ]
167
+ [ AssumeCulture ( "en-us" ) ]
160
168
[ MemberData ( nameof ( FormatProvidersData ) ) ]
161
169
public void format_should_return_formatted_major_and_minor_version_string ( ApiVersionFormatProvider provider )
162
170
{
@@ -171,6 +179,7 @@ public void format_should_return_formatted_major_and_minor_version_string( ApiVe
171
179
}
172
180
173
181
[ Theory ]
182
+ [ AssumeCulture ( "en-us" ) ]
174
183
[ MemberData ( nameof ( FormatProvidersData ) ) ]
175
184
public void format_should_return_formatted_short_version_string ( ApiVersionFormatProvider provider )
176
185
{
@@ -185,6 +194,7 @@ public void format_should_return_formatted_short_version_string( ApiVersionForma
185
194
}
186
195
187
196
[ Theory ]
197
+ [ AssumeCulture ( "en-us" ) ]
188
198
[ MemberData ( nameof ( FormatProvidersData ) ) ]
189
199
public void format_should_return_formatted_long_version_string ( ApiVersionFormatProvider provider )
190
200
{
@@ -199,6 +209,7 @@ public void format_should_return_formatted_long_version_string( ApiVersionFormat
199
209
}
200
210
201
211
[ Theory ]
212
+ [ AssumeCulture ( "en-us" ) ]
202
213
[ MemberData ( nameof ( FormatProvidersData ) ) ]
203
214
public void format_should_return_formatted_status_string ( ApiVersionFormatProvider provider )
204
215
{
@@ -213,6 +224,7 @@ public void format_should_return_formatted_status_string( ApiVersionFormatProvid
213
224
}
214
225
215
226
[ Theory ]
227
+ [ AssumeCulture ( "en-us" ) ]
216
228
[ MemberData ( nameof ( PaddedMinorVersionFormatData ) ) ]
217
229
public void format_should_return_formatted_minor_version_with_padding_string ( ApiVersionFormatProvider provider , string format )
218
230
{
@@ -233,6 +245,7 @@ public void format_should_return_formatted_minor_version_with_padding_string( Ap
233
245
}
234
246
235
247
[ Theory ]
248
+ [ AssumeCulture ( "en-us" ) ]
236
249
[ MemberData ( nameof ( PaddedMajorVersionFormatData ) ) ]
237
250
public void format_should_return_formatted_major_version_with_padding_string ( ApiVersionFormatProvider provider , string format )
238
251
{
@@ -253,6 +266,7 @@ public void format_should_return_formatted_major_version_with_padding_string( Ap
253
266
}
254
267
255
268
[ Theory ]
269
+ [ AssumeCulture ( "en-us" ) ]
256
270
[ MemberData ( nameof ( CustomFormatData ) ) ]
257
271
public void format_should_return_custom_format_string ( Func < ApiVersion , string > format , string expected )
258
272
{
@@ -268,6 +282,7 @@ public void format_should_return_custom_format_string( Func<ApiVersion, string>
268
282
}
269
283
270
284
[ Theory ]
285
+ [ AssumeCulture ( "en-us" ) ]
271
286
[ MemberData ( nameof ( MultipleFormatParameterData ) ) ]
272
287
public void format_should_return_formatted_string_with_multiple_parameters ( ApiVersionFormatProvider provider , string format , object secondArgument , string expected )
273
288
{
@@ -284,6 +299,7 @@ public void format_should_return_formatted_string_with_multiple_parameters( ApiV
284
299
}
285
300
286
301
[ Fact ]
302
+ [ AssumeCulture ( "en-us" ) ]
287
303
public void format_should_return_formatted_string_with_escape_sequence ( )
288
304
{
289
305
// arrange
0 commit comments