commit | 1ad3a0719f2b469d5a4e2cb2383b1214ec13391f | [log] [tgz] |
---|---|---|
author | Olivier Chafik <olivier.chafik@gmail.com> | Thu May 21 18:11:17 2015 +0100 |
committer | Olivier Chafik <olivier.chafik@gmail.com> | Thu May 21 18:11:17 2015 +0100 |
tree | 4e367c8113a54caf305969d15e99e0debef1fa7e | |
parent | 1bcc7a0a5a22f8e424c2908aadfee8208dbdc2c6 [diff] |
Test that getSdkDir() finds the SDK without CLI args.
diff --git a/test/cli_util_test.dart b/test/cli_util_test.dart index b7b7822..bf092e7 100644 --- a/test/cli_util_test.dart +++ b/test/cli_util_test.dart
@@ -11,6 +11,9 @@ 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); + }); }); }