chore: make typos happy

This commit is contained in:
Jinser Kafka 2025-01-05 03:41:05 +08:00
parent bee76b4baf
commit 25bc20c8a1
No known key found for this signature in database
3 changed files with 5 additions and 5 deletions

View File

@ -365,7 +365,7 @@ mod tests {
.current_dir(repo_dir.path())
.output()?;
// Annotaged tags are preferred over lightweight tags
// Annotated tags are preferred over lightweight tags
create_command("git")?
.args(["tag", "l0"])
.env("GIT_COMMITTER_DATE", "2022-01-01 00:00:02 +0000")

View File

@ -75,7 +75,7 @@ mod tests {
let actual = ModuleRenderer::new("moonbit").path(dir.path()).collect();
let expected = Some(format!(
"via {}",
Color::Purple.bold().paint("🐰 v0.1.20241231+ba15a9a4e ")
Color::Purple.bold().paint("🐰 v0.1.20241231+aa15a9a4e ")
));
assert_eq!(expected, actual);
dir.close()
@ -89,7 +89,7 @@ mod tests {
let actual = ModuleRenderer::new("moonbit").path(dir.path()).collect();
let expected = Some(format!(
"via {}",
Color::Purple.bold().paint("🐰 v0.1.20241231+ba15a9a4e ")
Color::Purple.bold().paint("🐰 v0.1.20241231+aa15a9a4e ")
));
assert_eq!(expected, actual);
dir.close()
@ -103,7 +103,7 @@ mod tests {
let actual = ModuleRenderer::new("moonbit").path(dir.path()).collect();
let expected = Some(format!(
"via {}",
Color::Purple.bold().paint("🐰 v0.1.20241231+ba15a9a4e ")
Color::Purple.bold().paint("🐰 v0.1.20241231+aa15a9a4e ")
));
assert_eq!(expected, actual);
dir.close()

View File

@ -320,7 +320,7 @@ Elixir 1.10 (compiled with Erlang/OTP 22)\n",
stderr: String::default(),
}),
"moonc -v" => Some(CommandOutput {
stdout: String::from("v0.1.20241231+ba15a9a4e\n"),
stdout: String::from("v0.1.20241231+aa15a9a4e\n"),
stderr: String::default(),
}),
"nats context info --json" => Some(CommandOutput{