Skip to content

Commit

Permalink
Shorten some test names
Browse files Browse the repository at this point in the history
Paths to object files generated from them were too long and caused errors
  • Loading branch information
petrochenkov committed Oct 10, 2017
1 parent d6d711d commit ca61ea2
Show file tree
Hide file tree
Showing 14 changed files with 9 additions and 9 deletions.
Expand Up @@ -8,13 +8,13 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// aux-build:specialization_cross_crate_defaults.rs
// aux-build:cross_crate_defaults.rs

#![feature(specialization)]

extern crate specialization_cross_crate_defaults;
extern crate cross_crate_defaults;

use specialization_cross_crate_defaults::*;
use cross_crate_defaults::*;

struct LocalDefault;
struct LocalOverride;
Expand Down
Expand Up @@ -10,11 +10,11 @@

// Test that specialization works even if only the upstream crate enables it

// aux-build:specialization_cross_crate.rs
// aux-build:cross_crate.rs

extern crate specialization_cross_crate;
extern crate cross_crate;

use specialization_cross_crate::*;
use cross_crate::*;

fn main() {
assert!(0u8.foo() == "generic Clone");
Expand Down
Expand Up @@ -8,13 +8,13 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// aux-build:specialization_cross_crate.rs
// aux-build:cross_crate.rs

#![feature(specialization)]

extern crate specialization_cross_crate;
extern crate cross_crate;

use specialization_cross_crate::*;
use cross_crate::*;

struct NotClone;

Expand Down

0 comments on commit ca61ea2

Please sign in to comment.