Colour patterns and speed unit selection working
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
// gestures. You can also use WidgetTester to 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:gps_speedo/main.dart';
|
||||
@@ -13,7 +12,7 @@ import 'package:gps_speedo/main.dart';
|
||||
void main() {
|
||||
testWidgets('GPS Speedometer app loads', (WidgetTester tester) async {
|
||||
// Build our app and trigger a frame.
|
||||
await tester.pumpWidget(const GpsSpeedoApp());
|
||||
await tester.pumpWidget(const SpeedoApp());
|
||||
|
||||
// Verify that the app loads with the title
|
||||
expect(find.text('0'), findsOneWidget);
|
||||
|
||||
Reference in New Issue
Block a user