Skip to content

Commit

Permalink
fix for v 0.0.14
Browse files Browse the repository at this point in the history
  • Loading branch information
Matteo Crippa committed Jul 22, 2018
1 parent 41c1da8 commit 528ebd6
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions example/test/widget_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@
// find child widgets in the widget tree, read text, and verify that the values of widget properties
// are correct.

import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
// import 'package:flutter/material.dart';
// import 'package:flutter_test/flutter_test.dart';

import 'package:flutter_nfc_reader_example/main.dart';
// import 'package:flutter_nfc_reader_example/main.dart';

void main() {
testWidgets('Verify Platform version', (WidgetTester tester) async {
// Build our app and trigger a frame.
await tester.pumpWidget(new MyApp());
// void main() {
// testWidgets('Verify Platform version', (WidgetTester tester) async {
// // Build our app and trigger a frame.
// await tester.pumpWidget(new MyApp());

// Verify that platform version is retrieved.
expect(
find.byWidgetPredicate(
(Widget widget) =>
widget is Text && widget.data.startsWith('Running on:'),
),
findsOneWidget);
});
}
// // Verify that platform version is retrieved.
// expect(
// find.byWidgetPredicate(
// (Widget widget) =>
// widget is Text && widget.data.startsWith('Running on:'),
// ),
// findsOneWidget);
// });
// }

0 comments on commit 528ebd6

Please sign in to comment.