| Index: pkg/glob/test/match_test.dart
|
| diff --git a/pkg/glob/test/match_test.dart b/pkg/glob/test/match_test.dart
|
| index ad9dcf3e116f8b0ad4138fe50c175d3af31ab290..448d60c2d1f656f4a1b7106f22442392af75c177 100644
|
| --- a/pkg/glob/test/match_test.dart
|
| +++ b/pkg/glob/test/match_test.dart
|
| @@ -3,6 +3,7 @@
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| import 'package:glob/glob.dart';
|
| +import 'package:glob/src/utils.dart';
|
| import 'package:path/path.dart' as p;
|
| import 'package:unittest/unittest.dart';
|
|
|
| @@ -234,8 +235,7 @@ void main() {
|
| });
|
|
|
| test("a relative path can be matched by an absolute glob", () {
|
| - var pattern = p.absolute('foo/bar');
|
| - if (p.style == p.Style.windows) pattern = pattern.replaceAll('\\', '/');
|
| + var pattern = separatorToForwardSlash(p.absolute('foo/bar'));
|
| expect('foo/bar', contains(new Glob(pattern)));
|
| });
|
|
|
|
|