()
| 804 | |
| 805 | #[test] |
| 806 | fn binary_requires_add_endpoint() { |
| 807 | let error = |
| 808 | build_policy_update_plan(&[], &[], &[], &[], &[], &["/usr/bin/gh".to_string()], None) |
| 809 | .expect_err("plan should fail"); |
| 810 | assert!(error.to_string().contains("--binary")); |
| 811 | } |
| 812 | |
| 813 | #[test] |
| 814 | fn rule_name_rejects_multiple_add_endpoints() { |
nothing calls this directly
no test coverage detected