Closed
Description
To reproduce, run cargo test
on the following library:
#[cfg(test)]
mod tests {
#[test]
fn it_works() {
println!("hello");
println!("world");
panic!();
}
}
Expected output:
...
---- tests::it_works stdout ----
hello
world
thread 'tests::it_works' panicked at 'explicit panic', src\lib.rs:7:9
...
Actual output:
...
---- tests::it_works stdout ----
hello
world
thread 'tests::it_works' panicked at 'explicit panic', src\lib.rs:7:9
...
Version info:
> rustc --version --verbose
rustc 1.26.0-nightly (5508b2714 2018-03-18)
binary: rustc
commit-hash: 5508b27145cfb82896ae838e6aca0cd48750796f
commit-date: 2018-03-18
host: x86_64-pc-windows-msvc
release: 1.26.0-nightly
LLVM version: 6.0
> cargo --version --verbose
cargo 1.26.0-nightly (d6c3983fe 2018-03-16)
release: 1.26.0
commit-hash: d6c3983fe3bd8fa06b54712e53fb23645598188b
commit-date: 2018-03-16
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
ehuss commentedon May 1, 2018
It looks like the indentation was removed in #19299, but the
\t
was left behind for the first line.phansch commentedon May 2, 2018
Going to take a look at this 👍
Rollup merge of rust-lang#50387 - phansch:remove_leftover_tab, r=alex…
Rollup merge of rust-lang#50387 - phansch:remove_leftover_tab, r=alex…