chore(dependencies): add webview_flutter_platform_interface package to pubspec.yaml and clean up test files by removing unnecessary whitespace

This commit is contained in:
mso7nueh
2025-12-11 14:12:41 +03:00
parent 70e4a42e98
commit 960afbd6ed
91 changed files with 6152 additions and 1209 deletions

View File

@@ -3,20 +3,28 @@ import 'package:flutter_test/flutter_test.dart';
void main() {
group('MarketingCubitState', () {
test('creates state with const constructor', () {
test('creates MarketingCubitState', () {
const state = MarketingCubitState();
expect(state, isNotNull);
expect(state, isA<MarketingCubitState>());
});
test('can create multiple instances', () {
test('creates multiple MarketingCubitState instances', () {
const state1 = MarketingCubitState();
const state2 = MarketingCubitState();
expect(state1, isA<MarketingCubitState>());
expect(state2, isA<MarketingCubitState>());
expect(state1 == state2, true);
// Both should be valid instances
expect(state1, isNotNull);
expect(state2, isNotNull);
});
test('MarketingCubitState is const', () {
const state1 = MarketingCubitState();
const state2 = MarketingCubitState();
// Const instances should be equal
expect(state1, state2);
});
});
}

View File

@@ -62,3 +62,7 @@ void main() {
});
}