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);
+    });
   });
 }