libsyntax: Fix tests.
This commit is contained in:
parent
02c1d2ff52
commit
8092153634
5 changed files with 12 additions and 17 deletions
|
@ -2453,12 +2453,6 @@ mod test {
|
|||
use codemap;
|
||||
use parse::token;
|
||||
|
||||
fn string_check<T:Eq> (given : &T, expected: &T) {
|
||||
if !(given == expected) {
|
||||
fail!("given {:?}, expected {:?}", given, expected);
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_fun_to_str() {
|
||||
let abba_ident = token::str_to_ident("abba");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue