Skip to content

Commit e7f0879

Browse files
authored
fix: unit test after 25785c2 (#218)
PR #213 has properly decoupled cot's and cot-cli's versions but haven't updated the unit test that tests the Cargo.toml generated by `cot new` (which now fails in #215).
1 parent 934657b commit e7f0879

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cot-cli/src/new_project.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ mod tests {
148148
let source = CotSource::PublishedCrate;
149149
assert_eq!(
150150
source.as_cargo_toml_source(),
151-
format!("version = \"{}\"", env!("CARGO_PKG_VERSION"))
151+
format!("version = \"{}\"", cot::__private::COT_VERSION)
152152
);
153153
}
154154
}

0 commit comments

Comments
 (0)