()
| 928 | |
| 929 | #[test] |
| 930 | fn test_detect_language() { |
| 931 | assert_eq!(detect_language(Path::new("main.rs")), "rust"); |
| 932 | assert_eq!(detect_language(Path::new("index.ts")), "typescript"); |
| 933 | assert_eq!(detect_language(Path::new("app.tsx")), "typescriptreact"); |
| 934 | assert_eq!(detect_language(Path::new("main.py")), "python"); |
| 935 | assert_eq!(detect_language(Path::new("main.go")), "go"); |
| 936 | assert_eq!(detect_language(Path::new("unknown.xyz")), "plaintext"); |
| 937 | } |
| 938 | |
| 939 | #[test] |
| 940 | fn test_json_rpc_request_serialization() { |
nothing calls this directly
no outgoing calls
no test coverage detected