From ab01aac71f8e4d4e33087087d3f0a1a1a51ca2fd Mon Sep 17 00:00:00 2001 From: "Lasse R.H. Nielsen" Date: Wed, 3 Apr 2024 10:51:49 +0200 Subject: [PATCH] Update cli_util_test.dart Update tests to not use deprecated name. --- test/cli_util_test.dart | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/test/cli_util_test.dart b/test/cli_util_test.dart index 349b629..e16bc59 100644 --- a/test/cli_util_test.dart +++ b/test/cli_util_test.dart @@ -9,12 +9,10 @@ import 'package:cli_util/cli_util.dart'; import 'package:path/path.dart' as p; import 'package:test/test.dart'; -void main() => defineTests(); - -void defineTests() { - group('getSdkPath', () { +void main() { + group('sdkPath', () { test('sdkPath', () { - expect(getSdkPath(), isNotNull); + expect(sdkPath, isNotNull); }); });