Skip to content

Commit

Permalink
feature snafu
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonozias authored and CraZySacX committed Mar 5, 2021
1 parent e0312ad commit 4b91f4f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gen.rs
Expand Up @@ -112,7 +112,6 @@ mod test {
config::Instructions,
error::Result,
testutils::{setup, teardown},
TimestampKind,
};
use lazy_static::lazy_static;
use regex::Regex;
Expand Down Expand Up @@ -285,7 +284,9 @@ mod test {

// TODO: Make this a macro to check all toggles
#[test]
#[cfg(feature = "build")]
fn toggle_works() -> Result<()> {
use crate::TimestampKind;
let repo_path = PathBuf::from(".");
let mut config = Instructions::default();
*config.build_mut().kind_mut() = TimestampKind::DateOnly;
Expand Down

0 comments on commit 4b91f4f

Please sign in to comment.