()
| 226 | |
| 227 | #[test] |
| 228 | fn test_simple_directive() { |
| 229 | let directive = parse_single_directive("@validate").unwrap(); |
| 230 | assert_eq!(directive.name, "validate"); |
| 231 | assert!(matches!(directive.params, DirectiveParams::KeyValue(ref map) if map.is_empty())); |
| 232 | } |
| 233 | |
| 234 | #[test] |
| 235 | fn test_directive_with_array() { |
nothing calls this directly
no test coverage detected