Skip to content

Commit

Permalink
(chore): Fixups for testutils to work in .crate
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
  • Loading branch information
kinnison committed Jan 18, 2023
1 parent 78bb9a6 commit 0ef1d62
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "git-testament"
version = "0.2.3"
version = "0.2.4"
authors = ["Daniel Silverstone <dsilvers@digital-scurf.org>"]
edition = "2021"

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/testutils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ pub fn prep_test(name: &str) -> TestSentinel {
.expect("Unable to copy main.rs in");
let toml = include_str!(concat!(
env!("CARGO_MANIFEST_DIR"),
"/test-template/Cargo.toml"
"/test-template/Cargo.toml.in"
));
let toml = toml.replace("name = \"test2\"", &format!("name = \"{name}\""));
fs::write(
Expand Down

0 comments on commit 0ef1d62

Please sign in to comment.