()
| 196 | |
| 197 | #[test] |
| 198 | fn test_find_asset_not_found() { |
| 199 | let assets = vec![zed::GithubReleaseAsset { |
| 200 | name: "csskit-darwin-arm64".to_string(), |
| 201 | download_url: "https://example.com/darwin-arm64".to_string(), |
| 202 | }]; |
| 203 | |
| 204 | let result = find_asset(&assets, "csskit-win32-x64"); |
| 205 | assert!(result.is_err()); |
| 206 | assert_eq!(result.unwrap_err(), "no asset found matching csskit-win32-x64"); |
| 207 | } |
| 208 | } |
nothing calls this directly
no test coverage detected