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

Commit

Permalink
Merge pull request #9 from ochafik/getSdkDir_without_args
Browse files Browse the repository at this point in the history
Test that getSdkDir() finds the SDK without CLI args.
  • Loading branch information
pq committed May 22, 2015
2 parents 1bcc7a0 + 1ad3a07 commit 3690f6e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/cli_util_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ void defineTests() {
expect(getSdkDir(['--dart-sdk', '/dart/sdk']).path, equals('/dart/sdk'));
expect(getSdkDir(['--dart-sdk=/dart/sdk']).path, equals('/dart/sdk'));
});
test('finds the SDK without cli args', () {
expect(getSdkDir(), isNotNull);
});
});
}

Expand Down

0 comments on commit 3690f6e

Please sign in to comment.