Skip to content

Commit 8368c90

Browse files
author
bors-servo
authored
Auto merge of #338 - servo:test, r=emilio
Update to rustc-test 0.3, unbreak tests on nightly-2018-02-25 Version 0.2 of the crates.io package `rustc_test` uses `test` as its rustc crate name, shadowing the `test` crate from the standard library. This made us subject to breaking changes to its private APIs.
2 parents d2c8257 + 82d8f31 commit 8368c90

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

html5ever/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ markup5ever = { version = "0.7", path = "../markup5ever" }
3737

3838
[dev-dependencies]
3939
rustc-serialize = "0.3.15"
40-
rustc-test = "0.2"
40+
rustc-test = "0.3"
4141
typed-arena = "1.3.0"
4242

4343
[build-dependencies]

html5ever/benches/tokenizer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// option. This file may not be copied, modified, or distributed
88
// except according to those terms.
99

10-
extern crate test;
10+
extern crate rustc_test as test;
1111
extern crate html5ever;
1212

1313
use std::{fs, env, cmp};

html5ever/tests/tokenizer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// except according to those terms.
99

1010
extern crate rustc_serialize;
11-
extern crate test;
11+
extern crate rustc_test as test;
1212
#[macro_use] extern crate html5ever;
1313

1414
mod foreach_html5lib_test;

html5ever/tests/tree_builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// option. This file may not be copied, modified, or distributed
88
// except according to those terms.
99

10-
extern crate test;
10+
extern crate rustc_test as test;
1111
#[macro_use] extern crate html5ever;
1212

1313
mod foreach_html5lib_test;

xml5ever/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ markup5ever = {version = "0.7", path = "../markup5ever" }
2727

2828
[dev-dependencies]
2929
rustc-serialize = "0.3.15"
30-
rustc-test = "0.2"
30+
rustc-test = "0.3"

xml5ever/tests/tokenizer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// except according to those terms.
99

1010
extern crate rustc_serialize;
11-
extern crate test;
11+
extern crate rustc_test as test;
1212
#[macro_use] extern crate xml5ever;
1313

1414
use std::borrow::Cow::Borrowed;

xml5ever/tests/tree_builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// except according to those terms.
99

1010
extern crate rustc_serialize;
11-
extern crate test;
11+
extern crate rustc_test as test;
1212
#[macro_use] extern crate xml5ever;
1313

1414
use std::collections::{HashSet, HashMap};

0 commit comments

Comments
 (0)