Skip to content

Commit

Permalink
Source code formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
thomhurst committed Dec 20, 2024
1 parent 203132e commit 13402e4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.

This file was deleted.

2 changes: 1 addition & 1 deletion TUnit.Core.SourceGenerator/SourceCodeWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public void WriteLine([StringSyntax("c#")] string value)

_stringBuilder.AppendLine(value);

if (value[0] is '{' or '[')
if (value is ['{' or '['])
{
_tabLevel++;
}
Expand Down

0 comments on commit 13402e4

Please sign in to comment.