()
| 153 | |
| 154 | #[test] |
| 155 | fn bind_bool_param() { |
| 156 | let result = bind_and_format( |
| 157 | "SELECT * FROM users WHERE active = $1", |
| 158 | &[ParamValue::Bool(true)], |
| 159 | ); |
| 160 | assert!(result.contains("active = true"), "got: {result}"); |
| 161 | } |
| 162 | |
| 163 | #[test] |
| 164 | fn no_params_noop() { |
nothing calls this directly
no test coverage detected