Skip to content

Commit c81321a

Browse files
committed
Update tests for toolchain-version -> toolchain
1 parent 388af5b commit c81321a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/tests/script.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ fn test_whitespace_before_main() {
190190
#[ignore]
191191
fn test_stable_toolchain() {
192192
let out = rust_script!(
193-
"--toolchain-version",
193+
"--toolchain",
194194
"stable",
195195
"tests/data/script-unstable-feature.rs"
196196
)
@@ -203,7 +203,7 @@ fn test_stable_toolchain() {
203203
#[ignore]
204204
fn test_nightly_toolchain() {
205205
let out = rust_script!(
206-
"--toolchain-version",
206+
"--toolchain",
207207
"nightly",
208208
"tests/data/script-unstable-feature.rs"
209209
)

0 commit comments

Comments
 (0)