File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2225,7 +2225,7 @@ mod tests {
22252225 fn class_special_escaped_set_chars ( ) {
22262226 // These tests ensure that some special characters require escaping
22272227 // for use in character classes. The intention is to use these
2228- // characters to implement sets as described in UTC #18 RL1.3. Once
2228+ // characters to implement sets as described in UTS #18 RL1.3. Once
22292229 // that's done, these tests should be removed and replaced with others.
22302230 assert_eq ! ( p( r"[\[]" ) , Expr :: Class ( class( & [ ( '[' , '[' ) ] ) ) ) ;
22312231 assert_eq ! ( p( r"[&]" ) , Expr :: Class ( class( & [ ( '&' , '&' ) ] ) ) ) ;
@@ -2801,7 +2801,7 @@ mod tests {
28012801 fn error_class_unsupported_char ( ) {
28022802 // These tests ensure that some unescaped special characters are
28032803 // rejected in character classes. The intention is to use these
2804- // characters to implement sets as described in UTC #18 RL1.3. Once
2804+ // characters to implement sets as described in UTS #18 RL1.3. Once
28052805 // that's done, these tests should be removed and replaced with others.
28062806 test_err ! ( "[[]" , 1 , ErrorKind :: UnsupportedClassChar ( '[' ) ) ;
28072807 test_err ! ( "[&&]" , 2 , ErrorKind :: UnsupportedClassChar ( '&' ) ) ;
You can’t perform that action at this time.
0 commit comments