We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 345d96f commit 0695cfeCopy full SHA for 0695cfe
tests/index.rs
@@ -785,7 +785,10 @@ async fn test_routing_with_prefix() {
785
.await
786
.expect_err("Expected 404 error")
787
.to_string();
788
- assert!(resp.contains("404"));
+ assert!(
789
+ resp.contains("404"),
790
+ "Response should contain \"404\", but got:\n{resp}"
791
+ );
792
793
// Test forbidden paths with prefix
794
let resp = req_path_with_app_data("/prefix/sqlpage/migrations/0001_init.sql", app_data.clone())
0 commit comments