We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6530eaf commit e89e70eCopy full SHA for e89e70e
test/pub_runner_test.dart
@@ -111,8 +111,8 @@ void main() {
111
.single;
112
expect(compileCall.arguments[2], '--packages');
113
expect(
114
- compileCall.arguments[3],
115
- endsWith(p.join('.dart_tool', 'package_config.json')),
+ _normalizedPath(compileCall.arguments[3]),
+ endsWith('.dart_tool/package_config.json'),
116
);
117
118
compileCall.arguments.last,
@@ -304,6 +304,8 @@ Future<void> main(List<String> args) async => launchExecutable();
304
});
305
}
306
307
+String _normalizedPath(String value) => value.replaceAll('\\', '/');
308
+
309
Future<void> _writePackageFixture(
310
Directory sandbox, {
311
required String package,
0 commit comments