(#[case] scriptlet: &str)
| 147 | #[case(INSTALL_SCRIPTLET_FULL)] |
| 148 | #[case(INSTALL_SCRIPTLET_FULL_FUNCTION_PREFIX)] |
| 149 | fn valid_scriptlet(#[case] scriptlet: &str) -> TestResult { |
| 150 | let mut file = NamedTempFile::new()?; |
| 151 | write!(file, "{scriptlet}")?; |
| 152 | |
| 153 | check_scriptlet(file.path())?; |
| 154 | |
| 155 | Ok(()) |
| 156 | } |
| 157 | |
| 158 | #[rstest] |
| 159 | #[case(INSTALL_SCRIPTLET_EMPTY)] |
nothing calls this directly
no test coverage detected