Skip to content

Commit

Permalink
[script] Remove unnecessary breaks in default clauses of switch state…
Browse files Browse the repository at this point in the history
  • Loading branch information
stereotype441 authored Aug 21, 2024
1 parent c5d03ee commit b39fc07
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion script/tool/lib/src/native_test_command.dart
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,6 @@ this command.
if (exampleHasUnitTests) {
ranUnitTests = true;
}
break;
}
}

Expand Down
1 change: 0 additions & 1 deletion script/tool/lib/src/update_excerpts_command.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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') ?? '···';
Expand Down
1 change: 0 additions & 1 deletion script/tool/test/util.dart
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,6 @@ String _pluginPlatformSection(
]);
default:
assert(false, 'Unrecognized platform: $platform');
break;
}
entry = '${lines.join('\n')}\n';
}
Expand Down

0 comments on commit b39fc07

Please sign in to comment.