|
6 | 6 | use std::path::{Path, PathBuf}; |
7 | 7 | use std::process::Command; |
8 | 8 |
|
9 | | -const RUNTIME_DEP_LABEL: &str = "crate target: solverforge 0.8.1"; |
| 9 | +const RUNTIME_DEP_LABEL: &str = "crates.io: solverforge 0.8.3"; |
10 | 10 | const UI_DEP_LABEL: &str = "crates.io: solverforge-ui 0.4.2"; |
11 | 11 | const CLI_VERSION: &str = env!("CARGO_PKG_VERSION"); |
12 | 12 |
|
@@ -91,7 +91,7 @@ fn test_version_output_distinguishes_cli_from_runtime_target() { |
91 | 91 | assert!( |
92 | 92 | stdout.contains(&format!("solverforge-cli {}", CLI_VERSION)) |
93 | 93 | && stdout.contains(&format!("CLI version: {}", CLI_VERSION)) |
94 | | - && stdout.contains("Scaffold runtime target: SolverForge crate target 0.8.1") |
| 94 | + && stdout.contains("Scaffold runtime target: SolverForge crate target 0.8.3") |
95 | 95 | && stdout.contains(RUNTIME_DEP_LABEL) |
96 | 96 | && stdout.contains(UI_DEP_LABEL), |
97 | 97 | "version output should distinguish the CLI version from the scaffold runtime target: {}", |
@@ -201,7 +201,7 @@ fn test_new_creates_neutral_project_files() { |
201 | 201 | ); |
202 | 202 | assert!( |
203 | 203 | cargo_toml.contains( |
204 | | - "solverforge = { version = \"0.8.1\", features = [\"serde\", \"console\", \"verbose-logging\"] }" |
| 204 | + "solverforge = { version = \"0.8.3\", features = [\"serde\", \"console\", \"verbose-logging\"] }" |
205 | 205 | ) && cargo_toml.contains("solverforge-ui = { version = \"0.4.2\" }"), |
206 | 206 | "unified scaffold should point at the current SolverForge and solverforge-ui crate targets: {}", |
207 | 207 | cargo_toml |
@@ -274,7 +274,7 @@ fn test_new_readme_records_cli_and_runtime_versions_separately() { |
274 | 274 | readme.contains(&format!( |
275 | 275 | "CLI version used to scaffold this project: `{}`", |
276 | 276 | CLI_VERSION |
277 | | - )) && readme.contains("SolverForge runtime target for this scaffold: `solverforge 0.8.1`") |
| 277 | + )) && readme.contains("SolverForge runtime target for this scaffold: `solverforge 0.8.3`") |
278 | 278 | && readme.contains(RUNTIME_DEP_LABEL) |
279 | 279 | && readme.contains(UI_DEP_LABEL) |
280 | 280 | && readme.contains("configured crate dependency targets") |
|
0 commit comments