about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorOliver Schneider <git1984941651981@oli-obk.de>2015-01-26 16:10:22 +0100
committerOliver Schneider <git1984941651981@oli-obk.de>2015-01-26 16:27:28 +0100
commit82b0b0fcc70593ff13176795f1bc82c86c7c618f (patch)
tree40119ebfbb63e98c32aa098113fc9aaeed089abf /src/libsyntax
parent85b80aa1e1c69f0ee22c93e7126f96ab7182377a (diff)
downloadrust-82b0b0fcc70593ff13176795f1bc82c86c7c618f.tar.gz
rust-82b0b0fcc70593ff13176795f1bc82c86c7c618f.zip
fallout
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/parse/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/mod.rs b/src/libsyntax/parse/mod.rs
index 8cb7ee5b337..6dfd1fddcf7 100644
--- a/src/libsyntax/parse/mod.rs
+++ b/src/libsyntax/parse/mod.rs
@@ -854,7 +854,7 @@ mod test {
     #[test]
     fn string_to_tts_1 () {
         let tts = string_to_tts("fn a (b : i32) { b; }".to_string());
-        assert_eq!(json::encode(&tts),
+        assert_eq!(json::encode(&tts).unwrap(),
         "[\
     {\
         \"variant\":\"TtToken\",\