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

Unified Diff: pkg/analyzer/test/file_system/physical_resource_provider_test.dart

Issue 1444943003: Use AbsolutePathContext in Folder.contains(). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/lib/file_system/physical_file_system.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/file_system/physical_resource_provider_test.dart
diff --git a/pkg/analyzer/test/file_system/physical_resource_provider_test.dart b/pkg/analyzer/test/file_system/physical_resource_provider_test.dart
index 87d976abccf34ce6f83026c14d319e6d14f61cb1..852c7b2cf7d106c2407afb2bfb13fa5fb8962dd8 100644
--- a/pkg/analyzer/test/file_system/physical_resource_provider_test.dart
+++ b/pkg/analyzer/test/file_system/physical_resource_provider_test.dart
@@ -301,7 +301,7 @@ class PhysicalResourceProviderTest extends _BaseTest {
// See https://github.com/dart-lang/sdk/issues/23762
// Not sure why this breaks under Windows, but testing to see whether
// we are running Windows causes the type to change. For now we print
- // the type out of curriosity.
+ // the type out of curiosity.
print(
'PhysicalResourceProviderTest:test_watchFile_delete received an event with type = ${changesReceived[0].type}');
} else {
@@ -378,8 +378,8 @@ class PhysicalResourceProviderTest extends _BaseTest {
}
test_watchFolder_modifyFile_inSubDir() {
- var subdirPath = join(tempPath, 'foo');
- new io.Directory(subdirPath).createSync();
+ var fooPath = join(tempPath, 'foo');
+ new io.Directory(fooPath).createSync();
var path = join(tempPath, 'bar');
var file = new io.File(path);
file.writeAsStringSync('contents 1');
@@ -410,7 +410,7 @@ class PhysicalResourceProviderTest extends _BaseTest {
File file = PhysicalResourceProvider.INSTANCE.getResource(path);
var changesReceived = <WatchEvent>[];
var subscription = file.changes.listen(changesReceived.add);
- // Delay running the rest of the test to allow file.changes propogate.
+ // Delay running the rest of the test to allow file.changes propagate.
return _delayed(() => test(changesReceived)).whenComplete(() {
subscription.cancel();
});
« no previous file with comments | « pkg/analyzer/lib/file_system/physical_file_system.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698