about summary refs log tree commit diff
path: root/tests/source/chains.rs
diff options
context:
space:
mode:
authorMarcus Klaas <mail@marcusklaas.nl>2016-05-09 20:11:25 +0200
committerMarcus Klaas <mail@marcusklaas.nl>2016-05-12 21:15:06 +0200
commitcd158cecc87cb2d4d63aecf8854952370cb9ea4b (patch)
tree8d1cc8700cd73e5892d7bb8208ee067d5c3a2dbb /tests/source/chains.rs
parentee7b5805fcb1e4bc6334b7a6a814769d4606541d (diff)
Add try macro to try shorthand conversion tests
Diffstat (limited to 'tests/source/chains.rs')
-rw-r--r--tests/source/chains.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/source/chains.rs b/tests/source/chains.rs
index 8ec5cd191c5..48de948865b 100644
--- a/tests/source/chains.rs
+++ b/tests/source/chains.rs
@@ -120,4 +120,8 @@ fn try_shorthand() {
     let yyyy = expr?.another?.another?.another?.another?.another?.another?.another?.another?.test();
     let zzzz = expr?.another?.another?.another?.another?;
     let aaa =  x ????????????  ?????????????? ???? ?????  ?????????????? ?????????  ?????????????? ??;
+
+    let y = a.very .loooooooooooooooooooooooooooooooooooooong()  .chain()
+             .inside()          .weeeeeeeeeeeeeee()? .test()  .0
+        .x;
 }