Skip to content

Commit

Permalink
windows compatz
Browse files Browse the repository at this point in the history
  • Loading branch information
sigurdm committed Nov 29, 2024
1 parent 188b8fc commit 39b6d3e
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions test/workspace_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,8 @@ foo:foomain''',
await pubGet(
environment: {'_PUB_TEST_SDK_VERSION': '3.5.0'},
error: contains(
'The file `./pkgs/pubspec.yaml` is located in a directory between the workspace root',
'The file `.${s}pkgs${s}pubspec.yaml` '
'is located in a directory between the workspace root',
),
);
});
Expand Down Expand Up @@ -900,13 +901,15 @@ foo:foomain''',
await pubGet(
environment: {'_PUB_TEST_SDK_VERSION': '3.5.0'},
warning: allOf(
contains('Deleting old lock-file: `./pkgs/a/pubspec.lock'),
contains('Deleting old lock-file: `.${s}pkgs${s}a${s}pubspec.lock'),
contains(
'Deleting old package config: `./pkgs/a/.dart_tool/package_config.json`',
'Deleting old package config: '
'`.${s}pkgs${s}a$s.dart_tool${s}package_config.json`',
),
contains('Deleting old lock-file: `./pkgs/pubspec.lock'),
contains('Deleting old lock-file: `.${s}pkgs${s}pubspec.lock'),
contains(
'Deleting old package config: `./pkgs/.dart_tool/package_config.json`',
'Deleting old package config: '
'`.${s}pkgs$s.dart_tool${s}package_config.json`',
),
contains(
'See https://dart.dev/go/workspaces-no-inbetween-packages for details.',
Expand Down

0 comments on commit 39b6d3e

Please sign in to comment.