Skip to content

Commit

Permalink
webapp: Fix a comment in project-by tests and make another more specific
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Nov 13, 2024
1 parent 535443a commit 1dd3890
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions repology-webapp/tests/tool_project_by.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ async fn test_project_by_failures(pool: PgPool) {
matches "target page.*was not specified"
);

// target page not speified
// target page invalid
check_response!(
pool,
"/tools/project-by?repo=freebsd&name_type=srcname&target_page=invalid&name=shells/zsh",
Expand All @@ -125,7 +125,7 @@ async fn test_project_by_failures(pool: PgPool) {
matches "target page.*is invalid"
);

// not found
// package name not found
check_response!(
pool,
"/tools/project-by?repo=freebsd&name_type=srcname&target_page=project_versions&name=invalid/invalid",
Expand Down

0 comments on commit 1dd3890

Please sign in to comment.