Skip to content

Commit a8ba7a8

Browse files
committed
refactor: Remove unused temporary var in switch expression
1 parent eb9f4c4 commit a8ba7a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bunit.web/Rendering/Internal/Htmlizer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ private static int RenderAttributes(
261261
result.Append(':');
262262
result.Append(nameParts[1]);
263263
break;
264-
case bool flag and true:
264+
case true:
265265
result.Append(' ');
266266
result.Append(frame.AttributeName);
267267
break;

0 commit comments

Comments
 (0)