Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix some typos #10639

Merged
merged 1 commit into from
May 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/testsuite/cargo_command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ error: no such subcommand: `C`
}

#[cargo_test]
fn find_closest_captial_b_to_b() {
fn find_closest_capital_b_to_b() {
cargo_process("B")
.with_status(101)
.with_stderr_contains(
Expand Down
4 changes: 2 additions & 2 deletions tests/testsuite/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ impl ConfigBuilder {
self
}

/// Unconditionaly enable nightly features, even on stable channels.
/// Unconditionally enable nightly features, even on stable channels.
pub fn nightly_features_allowed(&mut self, allowed: bool) -> &mut Self {
self.enable_nightly_features = allowed;
self
Expand Down Expand Up @@ -1128,7 +1128,7 @@ unstable.print-im-a-teapot = true
}

#[cargo_test]
/// Assert that atempting to set an unstable flag that doesn't exist via config
/// Assert that attempting to set an unstable flag that doesn't exist via config
/// is ignored on stable
fn unstable_invalid_flag_ignored_on_stable() {
write_config(
Expand Down
2 changes: 1 addition & 1 deletion tests/testsuite/future_incompat_report.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ fn test_single_crate() {
write_config_toml("");
check_has_future_compat();

// Check that we show a message with `frequence = "always"`
// Check that we show a message with `frequency = "always"`
write_config_toml(
"\
[future-incompat-report]
Expand Down
2 changes: 1 addition & 1 deletion tests/testsuite/pkgid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Caused by:
)
.run();

// Bad file URL with simliar name.
// Bad file URL with similar name.
p.cargo("pkgid './cratesio'")
.with_status(101)
.with_stderr(
Expand Down