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