File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -412,6 +412,11 @@ void main() {
412
412
expect (validator ('www.google.com' ), isNull);
413
413
expect (validator ('google.com' ), isNull);
414
414
expect (validator ('http://google.com' ), isNull);
415
+ expect (validator ('HTTPS://GOOGLE.COM' ), isNull);
416
+ expect (validator ('GOOGLE.com' ), isNull);
417
+ expect (validator ('GOOGLE.COM' ), isNull);
418
+ expect (validator ('google.com/search?q=TEST' ), isNull);
419
+ expect (validator ('google.com/search#MY_AWESOME_THING' ), isNull);
415
420
// Fail
416
421
expect (validator ('.com' ), isNotNull);
417
422
// Advanced overrides
@@ -457,3 +462,10 @@ void main() {
457
462
expect (validator ('ABC' ), isNotNull);
458
463
}));
459
464
}
465
+
466
+ class Test implements Comparable <Test > {
467
+ @override
468
+ int compareTo (Test other) {
469
+ throw UnimplementedError ();
470
+ }
471
+ }
You can’t perform that action at this time.
0 commit comments