Skip to content

Commit 6f13c46

Browse files
committed
fix some typos
Signed-off-by: cuishuang <[email protected]>
1 parent 9c61a3d commit 6f13c46

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

tests/testsuite/cargo_command.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ error: no such subcommand: `C`
162162
}
163163

164164
#[cargo_test]
165-
fn find_closest_captial_b_to_b() {
165+
fn find_closest_capital_b_to_b() {
166166
cargo_process("B")
167167
.with_status(101)
168168
.with_stderr_contains(

tests/testsuite/config.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ impl ConfigBuilder {
4747
self
4848
}
4949

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

11301130
#[cargo_test]
1131-
/// Assert that atempting to set an unstable flag that doesn't exist via config
1131+
/// Assert that attempting to set an unstable flag that doesn't exist via config
11321132
/// is ignored on stable
11331133
fn unstable_invalid_flag_ignored_on_stable() {
11341134
write_config(

tests/testsuite/future_incompat_report.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ fn test_single_crate() {
111111
write_config_toml("");
112112
check_has_future_compat();
113113

114-
// Check that we show a message with `frequence = "always"`
114+
// Check that we show a message with `frequency = "always"`
115115
write_config_toml(
116116
"\
117117
[future-incompat-report]

tests/testsuite/pkgid.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Caused by:
111111
)
112112
.run();
113113

114-
// Bad file URL with simliar name.
114+
// Bad file URL with similar name.
115115
p.cargo("pkgid './cratesio'")
116116
.with_status(101)
117117
.with_stderr(

0 commit comments

Comments
 (0)