From 110db353fcc079bf6a035883c06a68e9ded418c6 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Tue, 21 Jul 2015 20:49:09 -0400 Subject: [PATCH] fix tyinfer test --- lalrpop/src/normalize/tyinfer/test.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lalrpop/src/normalize/tyinfer/test.rs b/lalrpop/src/normalize/tyinfer/test.rs index 3a7f35c..68e5bc6 100644 --- a/lalrpop/src/normalize/tyinfer/test.rs +++ b/lalrpop/src/normalize/tyinfer/test.rs @@ -134,7 +134,7 @@ grammar; extern token { type Location = usize; enum Tok { } } A = @L; "#, vec![ - ("A", "::std::option::Option"), + ("A", "usize"), ]) } @@ -144,11 +144,11 @@ fn test_spanned_macro() { grammar; extern token { type Location = usize; enum Tok { } } A = Spanned<"Foo">; - Spanned: (Option, Option) = { - <@L> T <@R> => (<>); + Spanned = { + @L T @R; }; "#, vec![ - ("A", "(Option, Option)"), + ("A", "(usize, Tok, usize)"), ]) }