Skip to content

Commit

Permalink
Fix small typos (#4041)
Browse files Browse the repository at this point in the history
  • Loading branch information
szakarias authored Nov 3, 2023
1 parent d0b9fe7 commit 1779628
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/src/executable.dart
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ Future<int> _runDartProgram(

/// The result of a `getExecutableForCommand` command resolution.
final class DartExecutableWithPackageConfig {
/// Can be a .dart file or a incremental snapshot.
/// Can be a .dart file or an incremental snapshot.
final String executable;

/// The package_config.json to run [executable] with. Or <null> if the VM
Expand Down
2 changes: 1 addition & 1 deletion lib/src/validator/leak_detection.dart
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ final leakPatterns = List<LeakPattern>.unmodifiable([
// Unique identifiers are documented here:
// https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-unique-ids
//
// Maximum length of a access key is specified as 128 here:
// Maximum length of an access key is specified as 128 here:
// https://docs.aws.amazon.com/IAM/latest/APIReference/API_AccessKey.html#API_AccessKey_Contents
pattern:
r'[^A-Z0-9]((?:A3T[A-Z0-9]|AKIA|AGPA|AIDA|AROA|AIPA|ANPA|ANVA|ASIA)[A-Z0-9]{12,128})[^A-Z0-9]',
Expand Down
2 changes: 1 addition & 1 deletion test/token/token_authentication_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ void main() {
await pub.shouldExit(1);
});

test('with a invalid environment token fails with error', () async {
test('with an invalid environment token fails with error', () async {
await servePackages();
await d.validPackage().create();
await d.tokensFile({
Expand Down

0 comments on commit 1779628

Please sign in to comment.