Skip to content

Commit f70e7a1

Browse files
committed
allow for some fixes in analyzer
1 parent f18bb83 commit f70e7a1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/end2end/model_test.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3867,8 +3867,9 @@ String topLevelFunction(int param1, bool param2, Cool coolBeans,
38673867
test('return type', () {
38683868
expect(
38693869
oldgeneric.modelType.linkedName,
3870-
equals(
3871-
'Function(<span class=\"parameter\" id=\"GenericTypedef-param-input\"><span class=\"type-annotation\">T</span></span>) → T'));
3870+
isIn(['T Function<span class="signature">(<span class="parameter" id="param-input"><span class="type-annotation">T</span> <span class="parameter-name">input</span></span>)</span>',
3871+
// Remove below option after analyzer 1.6.0.
3872+
'Function(<span class=\"parameter\" id=\"GenericTypedef-param-input\"><span class=\"type-annotation\">T</span></span>) → T']));
38723873
expect(
38733874
generic.modelType.linkedName,
38743875
equals(

0 commit comments

Comments
 (0)