()
| 21 | |
| 22 | #[test] |
| 23 | fn test_entry_tool() { |
| 24 | let e = CondensedEntry::tool("Edit", Some("src/main.rs")); |
| 25 | assert!(e.is_tool()); |
| 26 | assert_eq!(e.tool_name.as_deref(), Some("Edit")); |
| 27 | assert_eq!(e.tool_detail.as_deref(), Some("src/main.rs")); |
| 28 | } |
| 29 | |
| 30 | #[test] |
| 31 | fn test_entry_tool_no_detail() { |
nothing calls this directly
no outgoing calls
no test coverage detected