Skip to content

Commit

Permalink
Update rustc-test to 0.2, fix #371
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSapin committed Jul 1, 2017
1 parent dd068e5 commit ff1cd20
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ harness = false
test = false

[dev-dependencies]
rustc-test = "0.1"
rustc-test = "0.2"
rustc-serialize = "0.3"
serde_json = ">=0.6.1, <0.9"

Expand Down
6 changes: 1 addition & 5 deletions idna/tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@ fn main() {
{
let mut add_test = |name, run| {
tests.push(test::TestDescAndFn {
desc: test::TestDesc {
name: test::DynTestName(name),
ignore: false,
should_panic: test::ShouldPanic::No,
},
desc: test::TestDesc::new(test::DynTestName(name)),
testfn: run,
})
};
Expand Down
6 changes: 1 addition & 5 deletions tests/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,7 @@ fn main() {
{
let mut add_one = |name: String, run: test::TestFn| {
tests.push(test::TestDescAndFn {
desc: test::TestDesc {
name: test::DynTestName(name),
ignore: false,
should_panic: test::ShouldPanic::No,
},
desc: test::TestDesc::new(test::DynTestName(name)),
testfn: run,
})
};
Expand Down

0 comments on commit ff1cd20

Please sign in to comment.