mirror of
https://github.com/Auties00/Reboot-Launcher.git
synced 2026-01-14 03:32:23 +01:00
Made build portable
This commit is contained in:
22
dependencies/fluent_ui-3.12.0/test/label_test.dart
vendored
Normal file
22
dependencies/fluent_ui-3.12.0/test/label_test.dart
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
import 'package:fluent_ui/fluent_ui.dart';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
|
||||
import 'app_test.dart';
|
||||
|
||||
void main() {
|
||||
testWidgets('InfoLabel labelStyle is applied correctly to Text',
|
||||
(WidgetTester tester) async {
|
||||
const labelStyle = TextStyle();
|
||||
|
||||
await tester.pumpWidget(
|
||||
wrapApp(
|
||||
child: const InfoLabel(
|
||||
label: 'Label text',
|
||||
labelStyle: labelStyle,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
expect(tester.widget<Text>(find.text('Label text')).style, labelStyle);
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user