()
| 320 | |
| 321 | #[test] |
| 322 | fn test_local_from_tuple() { |
| 323 | let local: Local = ("test.rs", 10).into(); |
| 324 | assert_eq!(local.path, "test.rs"); |
| 325 | assert_eq!(local.line, 10); |
| 326 | |
| 327 | let local: Local = (String::from("test.rs"), 20).into(); |
| 328 | assert_eq!(local.path, "test.rs"); |
| 329 | assert_eq!(local.line, 20); |
| 330 | } |
| 331 | |
| 332 | #[test] |
| 333 | fn test_local_equality() { |
nothing calls this directly
no outgoing calls
no test coverage detected