Skip to content

Commit edd013c

Browse files
committed
Update tests
1 parent 18c58c9 commit edd013c

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

tests/cli-exact.rs

+4
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ for_host!(r"
2727
2828
"),
2929
for_host!(r"info: syncing channel updates for 'nightly-{0}'
30+
info: latest update on 2015-01-02, rust version 1.3.0
3031
info: downloading component 'rust-std'
3132
info: downloading component 'rustc'
3233
info: downloading component 'cargo'
@@ -62,6 +63,7 @@ for_host!(r"
6263
6364
"),
6465
for_host!(r"info: syncing channel updates for 'nightly-{0}'
66+
info: latest update on 2015-01-02, rust version 1.3.0
6567
info: downloading component 'rust-std'
6668
info: downloading component 'rustc'
6769
info: downloading component 'cargo'
@@ -248,6 +250,7 @@ fn update_invalid_toolchain() {
248250
expect_err_ex(config, &["rustup", "update", "nightly-2016-03-1"],
249251
r"",
250252
r"info: syncing channel updates for 'nightly-2016-03-1'
253+
info: latest update on 2015-01-02, rust version 1.3.0
251254
error: target not found: '2016-03-1'
252255
");
253256
});
@@ -259,6 +262,7 @@ fn default_invalid_toolchain() {
259262
expect_err_ex(config, &["rustup", "default", "nightly-2016-03-1"],
260263
r"",
261264
r"info: syncing channel updates for 'nightly-2016-03-1'
265+
info: latest update on 2015-01-02, rust version 1.3.0
262266
error: target not found: '2016-03-1'
263267
");
264268
});

tests/cli-rustup.rs

+7
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ for_host!(r"
3636
3737
"),
3838
for_host!(r"info: syncing channel updates for 'stable-{0}'
39+
info: latest update on 2015-01-02, rust version 1.1.0
3940
info: downloading component 'rust-std'
4041
info: downloading component 'rustc'
4142
info: downloading component 'cargo'
@@ -83,6 +84,7 @@ for_host!(r"
8384
8485
"),
8586
for_host!(r"info: syncing channel updates for 'stable-{0}'
87+
info: latest update on 2015-01-02, rust version 1.1.0
8688
info: downloading component 'rust-std'
8789
info: downloading component 'rustc'
8890
info: downloading component 'cargo'
@@ -96,6 +98,7 @@ info: installing component 'rustc'
9698
info: installing component 'cargo'
9799
info: installing component 'rust-docs'
98100
info: syncing channel updates for 'beta-{0}'
101+
info: latest update on 2015-01-02, rust version 1.2.0
99102
info: downloading component 'rust-std'
100103
info: downloading component 'rustc'
101104
info: downloading component 'cargo'
@@ -109,6 +112,7 @@ info: installing component 'rustc'
109112
info: installing component 'cargo'
110113
info: installing component 'rust-docs'
111114
info: syncing channel updates for 'nightly-{0}'
115+
info: latest update on 2015-01-02, rust version 1.3.0
112116
info: downloading component 'rust-std'
113117
info: downloading component 'rustc'
114118
info: downloading component 'cargo'
@@ -142,6 +146,7 @@ for_host!(r"
142146
143147
"),
144148
for_host!(r"info: syncing channel updates for 'stable-{0}'
149+
info: latest update on 2015-01-02, rust version 1.1.0
145150
info: downloading component 'rust-std'
146151
info: downloading component 'rustc'
147152
info: downloading component 'cargo'
@@ -156,6 +161,7 @@ info: installing component 'cargo'
156161
info: installing component 'rust-docs'
157162
info: syncing channel updates for 'beta-{0}'
158163
info: syncing channel updates for 'nightly-{0}'
164+
info: latest update on 2015-01-02, rust version 1.3.0
159165
info: downloading component 'rust-std'
160166
info: downloading component 'rustc'
161167
info: downloading component 'cargo'
@@ -193,6 +199,7 @@ for_host!(r"
193199
194200
"),
195201
for_host!(r"info: syncing channel updates for 'nightly-{0}'
202+
info: latest update on 2015-01-02, rust version 1.3.0
196203
info: downloading component 'rust-std'
197204
info: downloading component 'rustc'
198205
info: downloading component 'cargo'

tests/cli-self-upd.rs

+1
Original file line numberDiff line numberDiff line change
@@ -758,6 +758,7 @@ r"
758758
759759
",
760760
for_host!(r"info: syncing channel updates for 'stable-{0}'
761+
info: latest update on 2015-01-02, rust version 1.1.0
761762
info: downloading component 'rust-std'
762763
info: downloading component 'rustc'
763764
info: downloading component 'cargo'

0 commit comments

Comments
 (0)