Skip to content

Commit bbbdbd4

Browse files
committed
fix: get_test failing on windows
1 parent f15d6a8 commit bbbdbd4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/src/commands/packages/commands/get_test.dart

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ sdk: ^3.9.0
523523
'packages',
524524
'get',
525525
'--recursive',
526-
'${tempDirectory.path}/plugin',
526+
path.join(tempDirectory.path, 'plugin'),
527527
]);
528528

529529
expect(result, equals(ExitCode.success.code));
@@ -541,8 +541,8 @@ sdk: ^3.9.0
541541
verify(() {
542542
logger.progress(
543543
any(
544-
that: contains(
545-
'''Running "flutter pub get" in ./example''',
544+
that: matches(
545+
RegExp(r'Running "flutter pub get" in \.[/\\]example'),
546546
),
547547
),
548548
);
@@ -617,8 +617,8 @@ sdk: ^3.9.0
617617
verify(() {
618618
logger.progress(
619619
any(
620-
that: contains(
621-
'''Running "flutter pub get" in ./my_sub_package''',
620+
that: matches(
621+
RegExp(r'Running "flutter pub get" in \.[/\\]my_sub_package'),
622622
),
623623
),
624624
);

0 commit comments

Comments
 (0)