Skip to content

Commit

Permalink
Rename restriction tests
Browse files Browse the repository at this point in the history
  • Loading branch information
glyn committed Jul 2, 2024
1 parent f9dd320 commit b958a38
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/rel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,22 +80,22 @@ mod tests {
}

#[test]
fn restriction_test_equality_extension_uri_dot_normalization() {
fn test_equality_extension_uri_dot_normalization() {
assert_eq!(make_rel("example://a/b".to_string()), make_rel("example://a/./b".to_string()));
}

#[test]
fn restriction_test_equality_extension_uri_dotdot_normalization() {
fn test_equality_extension_uri_dotdot_normalization() {
assert_eq!(make_rel("example://a/b/../b".to_string()), make_rel("example://a/b".to_string()));
}

#[test]
fn restriction_test_equality_extension_uri_escape_normalization() {
fn test_equality_extension_uri_escape_normalization() {
assert_eq!(make_rel("example://a/%7Bfoo%7D".to_string()), make_rel("example://a/%7bfoo%7d".to_string()));
}

#[test]
fn restriction_test_equality_extension_uri_optional_escape_normalization() {
fn test_equality_extension_uri_optional_escape_normalization() {
assert_eq!(make_rel("example://a/%62".to_string()), make_rel("example://a/b".to_string()));
}

Expand Down

0 comments on commit b958a38

Please sign in to comment.