Skip to content

Commit 8a1af52

Browse files
committed
Fix
1 parent 84c0152 commit 8a1af52

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/src/datetime/date_time_validator_test.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ void main() {
3232
result,
3333
equals(FormBuilderLocalizations.current.dateStringErrorText),
3434
);
35+
expect(result, validator.errorText);
3536
});
3637

3738
test('should return the custom error message when the value is null', () {
@@ -106,7 +107,7 @@ void main() {
106107
// Assert
107108
expect(
108109
result,
109-
equals(validator.errorText),
110+
equals(FormBuilderLocalizations.current.dateStringErrorText),
110111
);
111112
});
112113

0 commit comments

Comments
 (0)