1
Fork 0

libsyntax: Fix tests.

This commit is contained in:
Patrick Walton 2014-01-03 19:24:33 -08:00
parent 02c1d2ff52
commit 8092153634
5 changed files with 12 additions and 17 deletions

View file

@ -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");