mirror of
https://github.com/starship/starship.git
synced 2025-01-23 06:39:47 +01:00
chore: make typos happy
This commit is contained in:
parent
bee76b4baf
commit
25bc20c8a1
@ -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")
|
||||
|
@ -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()
|
||||
|
@ -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{
|
||||
|
Loading…
Reference in New Issue
Block a user