()
| 962 | |
| 963 | #[test] |
| 964 | fn command_rejects_removed_driver_flags() { |
| 965 | let err = command() |
| 966 | .try_get_matches_from([ |
| 967 | "openshell-gateway", |
| 968 | "--db-url", |
| 969 | "sqlite::memory:", |
| 970 | "--sandbox-image", |
| 971 | "example/sandbox:latest", |
| 972 | ]) |
| 973 | .expect_err("driver implementation flags should not be accepted"); |
| 974 | |
| 975 | assert_eq!(err.kind(), clap::error::ErrorKind::UnknownArgument); |
| 976 | } |
| 977 | |
| 978 | #[test] |
| 979 | fn command_rejects_removed_ssh_endpoint_flags() { |