huskies: merge 1167 refactor Upgrade garde 0.22 to 0.23
This commit is contained in:
@@ -1302,6 +1302,16 @@ mod tests {
|
|||||||
use super::*;
|
use super::*;
|
||||||
use serde_json::json;
|
use serde_json::json;
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn workspace_garde_dependency_pinned_to_0_23() {
|
||||||
|
let root_cargo_toml = concat!(env!("CARGO_MANIFEST_DIR"), "/../Cargo.toml");
|
||||||
|
let contents = std::fs::read_to_string(root_cargo_toml).unwrap();
|
||||||
|
assert!(
|
||||||
|
contents.contains("garde = { version = \"0.23\""),
|
||||||
|
"expected workspace Cargo.toml to pin garde to 0.23, found: {contents}"
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
// --- CreateStoryRequest ---
|
// --- CreateStoryRequest ---
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|||||||
Reference in New Issue
Block a user