Chromium Code Reviews
DescriptionDon't make assumptions about source encoding in analysis server tests (TBR).
On Windows, the encoding of an absolute path like "/foo.dart" contains
a drive letter (e.g. "102file:///e:/foo.dart"); on Mac and Linux it
doesn't. Call ".encoding" from the test so that we don't depend on
the specific file name encoding in use.
As a side benefit, this makes the test independent of bug 18379.
Committed: https://code.google.com/p/dart/source/detail?r=35327
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|
|||||||||||||||||||