Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(223)

Side by Side Diff: pkg/analyzer/test/resource_utils.dart

Issue 2305453002: Remove unnecessary hide clauses (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library analyzer.test.resource_utils; 5 library analyzer.test.resource_utils;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:core' hide Resource; 8 import 'dart:core';
9 9
10 import 'package:analyzer/file_system/file_system.dart'; 10 import 'package:analyzer/file_system/file_system.dart';
11 import 'package:analyzer/file_system/memory_file_system.dart'; 11 import 'package:analyzer/file_system/memory_file_system.dart';
12 import 'package:analyzer/src/generated/source.dart'; 12 import 'package:analyzer/src/generated/source.dart';
13 import 'package:analyzer/src/util/absolute_path.dart'; 13 import 'package:analyzer/src/util/absolute_path.dart';
14 import 'package:path/path.dart' as path; 14 import 'package:path/path.dart' as path;
15 import 'package:unittest/unittest.dart'; 15 import 'package:unittest/unittest.dart';
16 16
17 bool get isWindows => path.Style.platform == path.Style.windows; 17 bool get isWindows => path.Style.platform == path.Style.windows;
18 18
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 fail('Expected windows path, but found: $path'); 130 fail('Expected windows path, but found: $path');
131 } 131 }
132 } else { 132 } else {
133 if (path.contains('\\')) { 133 if (path.contains('\\')) {
134 fail('Expected posix path, but found: $path'); 134 fail('Expected posix path, but found: $path');
135 } 135 }
136 } 136 }
137 return path; 137 return path;
138 } 138 }
139 } 139 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698