mirrored_repositories/formdator/test
import 'package:formdator/formdator.dart';
import 'package:test/test.dart';

void main() {
  group('Nok validator', () {
    const msg = 'Not Test';
    const nok = Nok(error: msg);
    test('non-blank input', () {
      expect(nok('non-blank'), msg);
    });
    test('blank input', () {
      expect(nok(null), msg);
      expect(nok(''), msg);
    });
  });
}
