import 'package:flutter_test/flutter_test.dart';

import '../lib/main.dart' as hello_world;

// This comment is extracted by the test and compared to a text representation
// built from the tree provider in the test. It must be maintained to match
// the results from teh tests below.
// == EXPECTED RESULTS ==
// test/broken_test.dart (Errored)
//     Hello world test (Errored)
// == /EXPECTED RESULTS ==

void main() {
  testWidgets('Hello world test', (WidgetTester tester) async {
    hello_world.main();
    await tester.pump();
    expect(find.text("won't find this"), findsOneWidget);
  });
}

import 'package:flutter_test/flutter_test.dart';

import '../lib/main.dart' as hello_world;

// This comment is extracted by the test and compared to a text representation
// built from the tree provider in the test. It must be maintained to match
// the results from teh tests below.
// == EXPECTED RESULTS ==
// test/broken_test.dart (fail.svg)
//     Hello world test (fail.svg)
// == /EXPECTED RESULTS ==

void main() {
  testWidgets('Hello world test', (WidgetTester tester) async {
    hello_world.main();
    await tester.pump();
    expect(find.text("won't find this"), findsOneWidget);
  });
}

Fix test from tree-test changes
Fix test from tree-test changes
