main, fix

This commit is contained in:
Tomas Dvorak committed 2026-01-06 13:38:45 +01:00
1 parent d712fe1074
commit 9f44fd57f7
11 files changed
+492 -194

No files matched your search

@@ -19,7 +19,7 @@ void main() {
test('should return null for valid email', () {
expect(Validators.validateEmail('[email protected]'), isNull);
expect(Validators.validateEmail('[email protected]'), isNull);
expect(Validators.validateEmail('test_user+tag@example.com'), isNull);
expect(Validators.validateEmail('[email protected]'), isNull);
});
test('should handle edge cases', () {
@@ -30,7 +30,7 @@ void main() {
group('validatePassword', () {
test('should return error for empty password', () {
expect(Validators.validatePassword(''), equals('Password must be at least 6 characters'));
expect(Validators.validatePassword(''), equals('Password is required'));
expect(Validators.validatePassword(null), equals('Password is required'));
});