Use phase(plugin) in tests

This commit is contained in:
Keegan McAllister 2014-05-24 21:24:35 -07:00
parent 84243ed6e1
commit ed41b71fbe
42 changed files with 43 additions and 43 deletions

View file

@ -11,7 +11,7 @@
// no-pretty-expanded
#![feature(phase)]
#[phase(syntax)] extern crate green;
#[phase(plugin)] extern crate green;
use std::string::String;
use std::fmt;

View file

@ -39,7 +39,7 @@
// OF THE POSSIBILITY OF SUCH DAMAGE.
#![feature(phase)]
#[phase(syntax)] extern crate green;
#[phase(plugin)] extern crate green;
extern crate sync;
use sync::Arc;

View file

@ -46,7 +46,7 @@
#![feature(macro_rules, phase)]
extern crate regex;
#[phase(syntax)]extern crate regex_macros;
#[phase(plugin)]extern crate regex_macros;
extern crate sync;
use std::io;

View file

@ -10,7 +10,7 @@
#![feature(phase)]
#![allow(non_snake_case_functions)]
#[phase(syntax)] extern crate green;
#[phase(plugin)] extern crate green;
extern crate sync;
use std::from_str::FromStr;

View file

@ -9,7 +9,7 @@
// except according to those terms.
#![feature(phase)]
#[phase(syntax)] extern crate green;
#[phase(plugin)] extern crate green;
green_start!(main)
fn start(n_tasks: int, token: int) {