()
| 275 | |
| 276 | #[test] |
| 277 | fn new_defaults_to_feature() { |
| 278 | let (repo, _dir) = init_repo(); |
| 279 | let (created, kind) = create_intent(&repo, "Plain work", "feature", None).unwrap(); |
| 280 | assert_eq!(kind, "feature"); |
| 281 | assert_eq!(manifest_kind(&repo, &created.id), "feature"); |
| 282 | // Hash back-compat: a default-kind intent omits the `kind` frontmatter key. |
| 283 | let inputs = bridge::read_intent(&repo, &created.id).unwrap(); |
| 284 | assert!(!inputs.frontmatter.contains_key("kind")); |
| 285 | } |
| 286 | |
| 287 | #[test] |
| 288 | fn new_kind_bug_sets_bug() { |
nothing calls this directly
no test coverage detected