Skip to content

Commit

Permalink
Don't compile main() for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
James Sanderson authored and James Sanderson committed Feb 15, 2015
1 parent 8e80407 commit 18efbbe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hex_to_base64.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
mod hex;

#[cfg(not(test))]
fn main() {
println!("Output: {}", hex::hex_to_int('0'));
}

0 comments on commit 18efbbe

Please sign in to comment.