feat:参照研听的基础工程
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
|
||||
void main() {
|
||||
testWidgets('Placeholder smoke test', (WidgetTester tester) async {
|
||||
await tester.pumpWidget(
|
||||
const MaterialApp(
|
||||
home: Scaffold(body: Center(child: Text('jinzhi'))),
|
||||
),
|
||||
);
|
||||
expect(find.text('jinzhi'), findsOneWidget);
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user