Skip to content

Commit 9ed652d

Browse files
authored
Don't use flutter_test in animated_icons_private_test. (#13917)
This broke the coverage tool, as material/animated_icons/animated_icons.dart was loaded twice as a part, once directly animated_icons_private_test, and one through animated_icons_private_test->flutter_tester->...->material The coverage package assumes a 1:1 mapping between VM scripts and URIs due to a limitation in the underlying vm_service_client package, which currently doesn't provide a unique identifier for VM scripts. The underlying issue is tracked by dart-lang/coverage#194.
1 parent 8da5af5 commit 9ed652d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/flutter/test/material/animated_icons_private_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ import 'dart:ui' as ui show Paint, Path, Canvas;
1515

1616
import 'package:flutter/animation.dart';
1717
import 'package:flutter/widgets.dart';
18-
import 'package:flutter_test/flutter_test.dart';
1918
import 'package:meta/meta.dart';
2019
import 'package:mockito/mockito.dart';
20+
import 'package:test/test.dart';
2121

2222
part 'package:flutter/src/material/animated_icons/animated_icons.dart';
2323
part 'package:flutter/src/material/animated_icons/animated_icons_data.dart';

0 commit comments

Comments
 (0)