@@ -624,9 +624,15 @@ private static java.util.stream.Stream<org.junit.jupiter.params.provider.Argumen
624624 return java .util .stream .Stream .of (
625625 org .junit .jupiter .params .provider .Arguments .of ("link[0-9]+" , "invalidLink" , false ),
626626 org .junit .jupiter .params .provider .Arguments .of ("link[0-9]+" , "link42" , true ),
627- org .junit .jupiter .params .provider .Arguments .of ("^[A-Z0-9]{6,20}$" , "XY12345" , true ), // snowflake valid
628- org .junit .jupiter .params .provider .Arguments .of ("^[A-Z0-9]{6,20}$" , "UID2ENVIRONMENT" , true ), // snowflake valid
629- org .junit .jupiter .params .provider .Arguments .of ("^[A-Z0-9]{6,20}$" , "xy12345" , false ) // snowflake invalid
627+ org .junit .jupiter .params .provider .Arguments .of ("^[A-Z0-9_]{1,256}$" , "XY12345" , true ), // snowflake valid
628+ org .junit .jupiter .params .provider .Arguments .of ("^[A-Z0-9_]{1,256}$" , "UID2_ENVIRONMENT" , true ), // snowflake valid
629+ org .junit .jupiter .params .provider .Arguments .of ("^[A-Z0-9_]{1,256}$" , "xy12345" , false ), // snowflake invalid
630+ org .junit .jupiter .params .provider .Arguments .of ("^[A-Z0-9_]{1,256}$" , "X" , true ), // snowflake valid, minimum length
631+ org .junit .jupiter .params .provider .Arguments .of ("^[A-Z0-9_]{1,256}$" , "X" .repeat (256 ), true ), // snowflake valid, maximum length
632+ org .junit .jupiter .params .provider .Arguments .of ("^[A-Z0-9_]{1,256}$" , "X" .repeat (257 ), false ), // snowflake invalid, exceeds maximum length
633+ org .junit .jupiter .params .provider .Arguments .of ("^[A-Z0-9_]{1,256}$" , " XY12345" , false ), // snowflake invalid, leading whitespace
634+ org .junit .jupiter .params .provider .Arguments .of ("^[A-Z0-9_]{1,256}$" , "XY12345 " , false ), // snowflake invalid, trailing whitespace
635+ org .junit .jupiter .params .provider .Arguments .of ("^[A-Z0-9_]{1,256}$" , "XY 12345" , false ) // snowflake invalid, whitespace in the middle
630636 );
631637 }
632638}
0 commit comments