Skip to content

Commit

Permalink
Fix a test breaking the windows bot
Browse files Browse the repository at this point in the history
Change-Id: I8192597a93ceb043585da0dc51f194e99bc2422c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/119701
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
  • Loading branch information
bwilkerson authored and commit-bot@chromium.org committed Oct 2, 2019
1 parent 2e99a41 commit bb342ec
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,12 @@ class InstrumentationRendererTest extends AbstractAnalysisTest {
unit('/package/lib/part2.dart', 'int? c = null;',
regions: [RegionInfo(3, 1, 'null was assigned', [])]),
]);
expect(renderLibrary(info)[0], contains('lib/a.dart'));
expect(renderLibrary(info)[1], contains('lib/part1.dart'));
expect(renderLibrary(info)[2], contains('lib/part2.dart'));
List<String> contents = renderLibrary(info);
expect(contents[0], contains(resourceProvider.convertPath('lib/a.dart')));
expect(
contents[1], contains(resourceProvider.convertPath('lib/part1.dart')));
expect(
contents[2], contains(resourceProvider.convertPath('lib/part2.dart')));
}

test_outputContainsEscapedHtml() async {
Expand Down

0 comments on commit bb342ec

Please sign in to comment.