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 {
2225
2225
fn class_special_escaped_set_chars ( ) {
2226
2226
// These tests ensure that some special characters require escaping
2227
2227
// 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
2229
2229
// that's done, these tests should be removed and replaced with others.
2230
2230
assert_eq ! ( p( r"[\[]" ) , Expr :: Class ( class( & [ ( '[' , '[' ) ] ) ) ) ;
2231
2231
assert_eq ! ( p( r"[&]" ) , Expr :: Class ( class( & [ ( '&' , '&' ) ] ) ) ) ;
@@ -2801,7 +2801,7 @@ mod tests {
2801
2801
fn error_class_unsupported_char ( ) {
2802
2802
// These tests ensure that some unescaped special characters are
2803
2803
// 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
2805
2805
// that's done, these tests should be removed and replaced with others.
2806
2806
test_err ! ( "[[]" , 1 , ErrorKind :: UnsupportedClassChar ( '[' ) ) ;
2807
2807
test_err ! ( "[&&]" , 2 , ErrorKind :: UnsupportedClassChar ( '&' ) ) ;
You can’t perform that action at this time.
0 commit comments