about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorBadel2 <2badel2@gmail.com>2017-11-03 18:17:44 +0100
committerBadel2 <2badel2@gmail.com>2017-11-06 13:43:59 +0100
commit4bd6be9dc6055d0cf0d36b1d6bcd8bfef545698f (patch)
tree7380cc979580d24cdb6c0a1d49d47a2799dce655 /src/test
parent525b81d570b15df2ed5896f0215baea5c64c650c (diff)
Inclusive range updated to `..=` syntax
Diffstat (limited to 'src/test')
-rw-r--r--src/test/run-pass-fulldeps/issue-35829.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-pass-fulldeps/issue-35829.rs b/src/test/run-pass-fulldeps/issue-35829.rs
index 0a4c15a9236..f17a0494a69 100644
--- a/src/test/run-pass-fulldeps/issue-35829.rs
+++ b/src/test/run-pass-fulldeps/issue-35829.rs
@@ -41,8 +41,8 @@ fn main() {
     let raw_byte_string_lit_kind = LitKind::ByteStr(Rc::new(b"#\"two\"#".to_vec()));
     assert_eq!(raw_byte_string.node, ExprKind::Lit(P(dummy_spanned(raw_byte_string_lit_kind))));
 
-    // check dotdotdot
-    let closed_range = quote_expr!(&cx, 0 ... 1);
+    // check dotdoteq
+    let closed_range = quote_expr!(&cx, 0 ..= 1);
     assert_eq!(closed_range.node, ExprKind::Range(
         Some(quote_expr!(&cx, 0)),
         Some(quote_expr!(&cx, 1)),