()
| 1359 | |
| 1360 | #[test] |
| 1361 | fn test_frontmatter_labels() { |
| 1362 | assert_eq!( |
| 1363 | frontmatter_labels(r#"{"labels":["auth","backend"]}"#), |
| 1364 | vec!["auth".to_string(), "backend".to_string()] |
| 1365 | ); |
| 1366 | assert!(frontmatter_labels("{}").is_empty()); |
| 1367 | assert!(frontmatter_labels("not json").is_empty()); |
| 1368 | } |
| 1369 | |
| 1370 | #[test] |
| 1371 | fn test_apply_budget_truncates_evenly() { |
nothing calls this directly
no outgoing calls
no test coverage detected