| Index: pkg/analyzer/test/file_system/memory_file_system_test.dart
|
| diff --git a/pkg/analyzer/test/file_system/memory_file_system_test.dart b/pkg/analyzer/test/file_system/memory_file_system_test.dart
|
| index ddfd74ab7698347dc9c0ef926d849467b6ec4a00..40c04e21101496a41214640b401b9d47689bcfcb 100644
|
| --- a/pkg/analyzer/test/file_system/memory_file_system_test.dart
|
| +++ b/pkg/analyzer/test/file_system/memory_file_system_test.dart
|
| @@ -465,7 +465,7 @@ class MemoryFileSourceExistingTest {
|
|
|
| void test_encoding() {
|
| String expected = 'file:///foo/test.dart';
|
| - if (provider.pathContext == windows) {
|
| + if (provider.pathContext.style == windows.style) {
|
| expected = 'file:///C:/foo/test.dart';
|
| }
|
| expect(source.encoding, expected);
|
| @@ -552,7 +552,7 @@ class MemoryFileSourceNotExistingTest {
|
|
|
| void test_encoding() {
|
| String expected = 'file:///foo/test.dart';
|
| - if (provider.pathContext == windows) {
|
| + if (provider.pathContext.style == windows.style) {
|
| expected = 'file:///C:/foo/test.dart';
|
| }
|
| expect(source.encoding, expected);
|
|
|