mirror of
https://github.com/flutter/flutter
synced 2024-10-13 11:42:54 +00:00
Use a package URI in test template import. (#12723)
Use a `package:` import when referencing source under test in test template. This is the prefered style and plays nice w/ automated refactoring. See: https://github.com/flutter/flutter-intellij/issues/1429
This commit is contained in:
parent
3365b01f9a
commit
2b2b3ab516
|
@ -7,7 +7,7 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
|
||||
import '../lib/main.dart';
|
||||
import 'package:{{projectName}}/main.dart';
|
||||
|
||||
void main() {
|
||||
testWidgets('Counter increments smoke test', (WidgetTester tester) async {
|
||||
|
|
Loading…
Reference in a new issue