()
| 275 | } |
| 276 | |
| 277 | fn expected_tracedecay_bin() -> String { |
| 278 | let path = std::fs::canonicalize(env!("CARGO_BIN_EXE_tracedecay")) |
| 279 | .unwrap_or_else(|_| PathBuf::from(env!("CARGO_BIN_EXE_tracedecay"))) |
| 280 | .to_string_lossy() |
| 281 | .replace('\\', "/"); |
| 282 | if cfg!(windows) { |
| 283 | path.strip_prefix("//?/").unwrap_or(&path).to_string() |
| 284 | } else { |
| 285 | path |
| 286 | } |
| 287 | } |
| 288 | |
| 289 | fn expected_tracedecay_bin_variants() -> Vec<String> { |
| 290 | let raw = PathBuf::from(env!("CARGO_BIN_EXE_tracedecay")); |
no test coverage detected