From 66703e3d6c17d2b3fca800d52b8fda79232ca9be Mon Sep 17 00:00:00 2001 From: topecongiro Date: Tue, 25 Jul 2017 15:47:44 +0900 Subject: [PATCH] Restore comments in file-liens tests --- tests/source/file-lines-1.rs | 1 + tests/source/file-lines-2.rs | 1 + tests/source/file-lines-3.rs | 1 + tests/source/file-lines-4.rs | 1 + tests/target/file-lines-1.rs | 1 + tests/target/file-lines-2.rs | 1 + tests/target/file-lines-3.rs | 1 + tests/target/file-lines-4.rs | 1 + 8 files changed, 8 insertions(+) diff --git a/tests/source/file-lines-1.rs b/tests/source/file-lines-1.rs index fc13a9edd17..0164e30a854 100644 --- a/tests/source/file-lines-1.rs +++ b/tests/source/file-lines-1.rs @@ -17,6 +17,7 @@ fn floaters() { { match x { PushParam => { + // comment stack.push(mparams[match cur.to_digit(10) { Some(d) => d as usize - 1, None => return Err("bad param number".to_owned()), diff --git a/tests/source/file-lines-2.rs b/tests/source/file-lines-2.rs index 7812c752239..6f44ec6e69d 100644 --- a/tests/source/file-lines-2.rs +++ b/tests/source/file-lines-2.rs @@ -17,6 +17,7 @@ fn floaters() { { match x { PushParam => { + // comment stack.push(mparams[match cur.to_digit(10) { Some(d) => d as usize - 1, None => return Err("bad param number".to_owned()), diff --git a/tests/source/file-lines-3.rs b/tests/source/file-lines-3.rs index a408fa3ccf6..c4f3e21b1ae 100644 --- a/tests/source/file-lines-3.rs +++ b/tests/source/file-lines-3.rs @@ -18,6 +18,7 @@ fn floaters() { { match x { PushParam => { + // comment stack.push(mparams[match cur.to_digit(10) { Some(d) => d as usize - 1, None => return Err("bad param number".to_owned()), diff --git a/tests/source/file-lines-4.rs b/tests/source/file-lines-4.rs index 36b632c7df0..83928bf6fec 100644 --- a/tests/source/file-lines-4.rs +++ b/tests/source/file-lines-4.rs @@ -18,6 +18,7 @@ fn floaters() { { match x { PushParam => { + // comment stack.push(mparams[match cur.to_digit(10) { Some(d) => d as usize - 1, None => return Err("bad param number".to_owned()), diff --git a/tests/target/file-lines-1.rs b/tests/target/file-lines-1.rs index a43f314a242..2601ca9fc94 100644 --- a/tests/target/file-lines-1.rs +++ b/tests/target/file-lines-1.rs @@ -17,6 +17,7 @@ fn floaters() { { match x { PushParam => { + // comment stack.push(mparams[match cur.to_digit(10) { Some(d) => d as usize - 1, None => return Err("bad param number".to_owned()), diff --git a/tests/target/file-lines-2.rs b/tests/target/file-lines-2.rs index c889fc3fd66..bc25698c2ed 100644 --- a/tests/target/file-lines-2.rs +++ b/tests/target/file-lines-2.rs @@ -12,6 +12,7 @@ fn floaters() { { match x { PushParam => { + // comment stack.push(mparams[match cur.to_digit(10) { Some(d) => d as usize - 1, None => return Err("bad param number".to_owned()), diff --git a/tests/target/file-lines-3.rs b/tests/target/file-lines-3.rs index 754c7c879b0..fe465750ae1 100644 --- a/tests/target/file-lines-3.rs +++ b/tests/target/file-lines-3.rs @@ -13,6 +13,7 @@ fn floaters() { { match x { PushParam => { + // comment stack.push(mparams[match cur.to_digit(10) { Some(d) => d as usize - 1, None => return Err("bad param number".to_owned()), diff --git a/tests/target/file-lines-4.rs b/tests/target/file-lines-4.rs index 36b632c7df0..83928bf6fec 100644 --- a/tests/target/file-lines-4.rs +++ b/tests/target/file-lines-4.rs @@ -18,6 +18,7 @@ fn floaters() { { match x { PushParam => { + // comment stack.push(mparams[match cur.to_digit(10) { Some(d) => d as usize - 1, None => return Err("bad param number".to_owned()),