(name: &'static str, value: &str)
| 417 | |
| 418 | #[cfg(test)] |
| 419 | mod tests { |
| 420 | use super::*; |
| 421 | |
| 422 | fn attr(name: &'static str, value: &str) -> Attribute { |
| 423 | Attribute { |
| 424 | name, |
| 425 | namespace: None, |
| 426 | volatile: false, |
| 427 | value: Text(value.to_string()), |
| 428 | } |
| 429 | } |
no outgoing calls