Skip to content

Commit f15aaa8

Browse files
introduce a failure
1 parent 72fd6e9 commit f15aaa8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/main.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,12 @@ mod constants;
55
mod utils;
66

77
pub fn main() -> ! {
8+
#[cfg(test)]
9+
{
10+
if cfg!(target_os = "linux") {
11+
panic!("This is a test");
12+
}
13+
}
14+
815
commands::main()
916
}

0 commit comments

Comments
 (0)