Skip to content

Commit

Permalink
reorganize tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ibraheemdev committed Mar 10, 2024
1 parent b9b9c54 commit 9cf60bb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/insert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,13 @@ fn invalid_param() {
("x{y", Err(InsertError::InvalidParam)),
("x}", Err(InsertError::InvalidParam)),
("/{foo}s", Err(InsertError::InvalidParamSegment)),
])
.run();
}

#[test]
fn escaped_param() {
InsertTest(vec![
("{{", Ok(())),
("}}", Ok(())),
("xx}}", Ok(())),
Expand Down

0 comments on commit 9cf60bb

Please sign in to comment.