Index: pkg/analyzer/test/src/util/absolute_path_test.dart |
diff --git a/pkg/analyzer/test/src/util/absolute_path_test.dart b/pkg/analyzer/test/src/util/absolute_path_test.dart |
index 0511801366f66b4d7e100e0acea1c8341cd58f03..98b38c52a4b3937ad467d96edb40be743d596b3d 100644 |
--- a/pkg/analyzer/test/src/util/absolute_path_test.dart |
+++ b/pkg/analyzer/test/src/util/absolute_path_test.dart |
@@ -51,6 +51,7 @@ class AbsolutePathContextPosixTest { |
expect(context.isValid(r'/foo/..bar'), isTrue); |
expect(context.isValid(r'/foo/.bar/baz'), isTrue); |
expect(context.isValid(r'/foo/...'), isTrue); |
+ expect(context.isValid(r'/foo/bar..'), isTrue); |
expect(context.isValid(r'/foo/.../bar'), isTrue); |
expect(context.isValid(r'/foo/.bar/.'), isFalse); |
expect(context.isValid(r'/foo/bar/../baz'), isFalse); |
@@ -113,6 +114,7 @@ class AbsolutePathContextWindowsTest { |
expect(context.isValid(r'C:\foo\..bar'), isTrue); |
expect(context.isValid(r'C:\foo\.bar\baz'), isTrue); |
expect(context.isValid(r'C:\foo\...'), isTrue); |
+ expect(context.isValid(r'C:\foo\bar..'), isTrue); |
expect(context.isValid(r'C:\foo\...\bar'), isTrue); |
expect(context.isValid(r'C:\foo\.bar\.'), isFalse); |
expect(context.isValid(r'C:\foo\bar\..\baz'), isFalse); |