Skip to content

Commit

Permalink
ci: improve clippy (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgazelka authored Mar 23, 2024
1 parent e4d7033 commit 69d4935
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@ jobs:
- uses: Swatinem/rust-cache@v2

- name: Clippy check
run: cargo clippy
run: cargo clippy --workspace --tests --examples --all-features


13 changes: 0 additions & 13 deletions generator-build/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,16 +107,3 @@ impl GeneratorConfig {
Ok(result)
}
}

#[cfg(test)]
mod tests {
#[test]
fn test_generator_config() {
let config = super::GeneratorConfig {
input: std::path::PathBuf::from("generated"),
};
let res = config.generate().unwrap();

println!("{res}");
}
}

0 comments on commit 69d4935

Please sign in to comment.