()
| 217 | |
| 218 | #[test] |
| 219 | fn new_defaults_to_feature() { |
| 220 | let (repo, _dir) = init_repo(); |
| 221 | let (created, kind) = create_intent(&repo, "Plain work", "feature", None).unwrap(); |
| 222 | assert_eq!(kind, "feature"); |
| 223 | assert_eq!(manifest_kind(&repo, &created.id), "feature"); |
| 224 | // Hash back-compat: a default-kind intent omits the `kind` frontmatter key. |
| 225 | let inputs = bridge::read_intent(&repo, &created.id).unwrap(); |
| 226 | assert!(!inputs.frontmatter.contains_key("kind")); |
| 227 | } |
| 228 | |
| 229 | #[test] |
| 230 | fn new_kind_bug_sets_bug() { |
nothing calls this directly
no test coverage detected