Skip to content

Commit 4ee8d54

Browse files
committed
disable false format warnings in code
1 parent 194c204 commit 4ee8d54

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Sep.Test/SepReaderTest.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,8 @@ public void SepReaderTest_Info_Props()
265265

266266
// TODO: Need test of quotes at end
267267

268+
#pragma warning disable WHITESPACE
269+
#pragma warning disable IDE0055
268270
internal static IEnumerable<object[]> ColCountMismatchData =>
269271
[
270272
["""
@@ -337,6 +339,8 @@ Expected 1 column(s) matching header/first row 'C1'
337339
""",
338340
new[] { 2, 1, 3 }],
339341
];
342+
#pragma warning restore IDE0055
343+
#pragma warning restore WHITESPACE
340344

341345
[DataTestMethod]
342346
[DynamicData(nameof(ColCountMismatchData))]
@@ -410,6 +414,8 @@ public void SepReaderTest_ColumnCountMismatch_IgnoreThrows(
410414
}
411415

412416

417+
#pragma warning disable WHITESPACE
418+
#pragma warning disable IDE0055
413419
internal static IEnumerable<object[]> LineNumbersData =>
414420
[
415421
["C1;C2\n123;456", new[] { (1, 2), (2, 3) }],
@@ -435,6 +441,8 @@ public void SepReaderTest_ColumnCountMismatch_IgnoreThrows(
435441
["\"C1\n\";C2\n\"1\n2\r3\";\"4\r\n56\"\n\"7\r\r\r\r\r89\";012\n",
436442
new[] { (1, 3), (3, 7), (7, 13) }],
437443
];
444+
#pragma warning restore IDE0055
445+
#pragma warning restore WHITESPACE
438446

439447
[DataTestMethod]
440448
[DynamicData(nameof(LineNumbersData))]

0 commit comments

Comments
 (0)