[script] Remove unnecessary breaks in default clauses of switch statements (#7469)

See
https://dart.googlesource.com/sdk.git/+/045d26bc74209f5acc6466669f89686344e83de2
This commit is contained in:
Paul Berry
2024-08-21 10:49:10 -07:00
committed by GitHub
parent c5d03ee2f2
commit b39fc07f44
3 changed files with 0 additions and 3 deletions

View File

@ -500,7 +500,6 @@ this command.
if (exampleHasUnitTests) {
ranUnitTests = true;
}
break;
}
}

View File

@ -149,7 +149,6 @@ class UpdateExcerptsCommand extends PackageLoopingCommand {
language = 'groovy';
default:
language = extension.substring(1);
break;
}
final String section = match.namedGroup('section')!;
final String plaster = match.namedGroup('plaster') ?? '···';

View File

@ -313,7 +313,6 @@ String _pluginPlatformSection(
]);
default:
assert(false, 'Unrecognized platform: $platform');
break;
}
entry = '${lines.join('\n')}\n';
}