Trim trailing whitespace and set it in editorconfig

This commit is contained in:
est31
2019-09-03 02:49:51 +02:00
parent 3d912a2c1d
commit cf0efb811e
10 changed files with 149 additions and 149 deletions

View File

@ -8,14 +8,14 @@ fn lines() {
let actual = nu!(
cwd: "tests/fixtures/formats", h::pipeline(
r#"
open cargo_sample.toml --raw
| lines
| skip-while $it != "[dependencies]"
| skip 1
| first 1
| split-column "="
| get Column1
| trim
open cargo_sample.toml --raw
| lines
| skip-while $it != "[dependencies]"
| skip 1
| first 1
| split-column "="
| get Column1
| trim
| echo $it
"#
));