diff options
Diffstat (limited to 'tests/integration/run_tests.rs')
-rw-r--r-- | tests/integration/run_tests.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/integration/run_tests.rs b/tests/integration/run_tests.rs index e18428575..9a680b944 100644 --- a/tests/integration/run_tests.rs +++ b/tests/integration/run_tests.rs @@ -3145,7 +3145,7 @@ fn issue9750() { console.write_line_raw("n"); console.expect_all(&[ "Denied env access to \"SECRET\".", - "PermissionDenied: Requires env access to \"SECRET\", run again with the --allow-env flag", + "NotCapable: Requires env access to \"SECRET\", run again with the --allow-env flag", ]); }); } @@ -4051,7 +4051,7 @@ async fn test_resolve_dns() { let out = String::from_utf8_lossy(&output.stdout); assert!(!output.status.success()); assert!(err.starts_with("Check file")); - assert!(err.contains(r#"error: Uncaught (in promise) PermissionDenied: Requires net access to "127.0.0.1:4553""#)); + assert!(err.contains(r#"error: Uncaught (in promise) NotCapable: Requires net access to "127.0.0.1:4553""#)); assert!(out.is_empty()); } @@ -4072,7 +4072,7 @@ async fn test_resolve_dns() { let out = String::from_utf8_lossy(&output.stdout); assert!(!output.status.success()); assert!(err.starts_with("Check file")); - assert!(err.contains(r#"error: Uncaught (in promise) PermissionDenied: Requires net access to "127.0.0.1:4553""#)); + assert!(err.contains(r#"error: Uncaught (in promise) NotCapable: Requires net access to "127.0.0.1:4553""#)); assert!(out.is_empty()); } |