Skip to content
This repository was archived by the owner on Dec 22, 2024. It is now read-only.

Commit 13c6938

Browse files
committed
Have tarpaulin ignore main()
1 parent bd0fd44 commit 13c6938

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

Diff for: Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "tm"
33
description = "tmux helper"
4-
version = "0.5.13"
4+
version = "0.5.14"
55
edition = "2021"
66
authors = ["Jörg Jaspert <[email protected]>"]
77
license = "BSD-2-Clause"

Diff for: src/main.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1010,6 +1010,8 @@ fn parse_line(line: &str, replace: &Option<String>, current_dir: &Path) -> Resul
10101010
}
10111011
}
10121012

1013+
// Can't sensibly test main()
1014+
#[cfg(not(tarpaulin_include))]
10131015
/// main, start it all off
10141016
fn main() -> Result<()> {
10151017
let cli = Cli::parse();

0 commit comments

Comments
 (0)