Skip to content
This repository was archived by the owner on Nov 1, 2024. It is now read-only.

Commit 3690f6e

Browse files
committed
Merge pull request #9 from ochafik/getSdkDir_without_args
Test that getSdkDir() finds the SDK without CLI args.
2 parents 1bcc7a0 + 1ad3a07 commit 3690f6e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/cli_util_test.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ void defineTests() {
1111
expect(getSdkDir(['--dart-sdk', '/dart/sdk']).path, equals('/dart/sdk'));
1212
expect(getSdkDir(['--dart-sdk=/dart/sdk']).path, equals('/dart/sdk'));
1313
});
14+
test('finds the SDK without cli args', () {
15+
expect(getSdkDir(), isNotNull);
16+
});
1417
});
1518
}
1619

0 commit comments

Comments
 (0)