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:
Phil Quitslund 2017-10-25 14:53:46 -07:00 committed by GitHub
parent 3365b01f9a
commit 2b2b3ab516

View file

@ -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 {