Skip to content

Commit 9174e39

Browse files
committed
Fix CI: remove expected blank lines between switch cases in two more tests
TestSelectCaseComparesCharsAndStrings and CastToSameTypeAsync expected blank lines between switch sections that were previously produced by the Roslyn formatter when cases had block bodies. After #1244 removes those blocks, the blank lines are no longer emitted. https://claude.ai/code/session_01AkwUvu3XuCdj3D4axoX4UX
1 parent 2f94c42 commit 9174e39

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

Tests/CSharp/MissingSemanticModelInfo/ExpressionTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,6 @@ public void PositionEnumFromString(char c)
294294
case '.':
295295
Console.WriteLine(1);
296296
break;
297-
298297
case ',':
299298
Console.WriteLine(2);
300299
break;

Tests/CSharp/TypeCastTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1382,7 +1382,6 @@ private void Q()
13821382
{
13831383
case var @case when ""x"" <= @case && @case <= ""y"":
13841384
break;
1385-
13861385
case ""b"":
13871386
break;
13881387
}

0 commit comments

Comments
 (0)