about summary refs log tree commit diff
path: root/src/libsyntax/parse/token.rs
diff options
context:
space:
mode:
authorJeffrey Seyfried <jeffrey.seyfried@gmail.com>2016-06-26 04:12:31 +0000
committerJeffrey Seyfried <jeffrey.seyfried@gmail.com>2016-07-14 01:34:38 +0000
commit56c4ddffae4fe55814cfa525631d09f910c7a2d2 (patch)
tree9e95dd305903d717562764aadca55b1d649e23e7 /src/libsyntax/parse/token.rs
parent0701571fe741866b4d0d9ad34b6c99717d1e1893 (diff)
downloadrust-56c4ddffae4fe55814cfa525631d09f910c7a2d2.tar.gz
rust-56c4ddffae4fe55814cfa525631d09f910c7a2d2.zip
Remove irrelevant tests
Diffstat (limited to 'src/libsyntax/parse/token.rs')
-rw-r--r--src/libsyntax/parse/token.rs18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs
index 3b25d381419..64547414d07 100644
--- a/src/libsyntax/parse/token.rs
+++ b/src/libsyntax/parse/token.rs
@@ -637,21 +637,3 @@ pub fn fresh_name(src: ast::Ident) -> ast::Name {
 pub fn fresh_mark() -> ast::Mrk {
     gensym("mark").0
 }
-
-#[cfg(test)]
-mod tests {
-    use super::*;
-    use ast;
-    use ext::mtwt;
-
-    fn mark_ident(id : ast::Ident, m : ast::Mrk) -> ast::Ident {
-        ast::Ident::new(id.name, mtwt::apply_mark(m, id.ctxt))
-    }
-
-    #[test] fn mtwt_token_eq_test() {
-        assert!(Gt.mtwt_eq(&Gt));
-        let a = str_to_ident("bac");
-        let a1 = mark_ident(a,92);
-        assert!(Ident(a).mtwt_eq(&Ident(a1)));
-    }
-}