Skip to content

Commit

Permalink
test-stable requires 1.61
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuhiko committed Sep 16, 2023
1 parent 84cddf9 commit 7e9315e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ jobs:
run: make test

test-stable:
name: Test on 1.60.0
name: Test on 1.61.0
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.60.0
toolchain: 1.61.0
- name: Test
run: make cargotest

Expand Down
2 changes: 1 addition & 1 deletion src/snapshot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ impl SnapshotContents {
)
})
// `lines` removes the final line ending - add back
.chain(Some(format!("\n{:width$}", "", width = indentation)).into_iter()),
.chain(Some(format!("\n{:width$}", "", width = indentation))),
);
} else {
out.push_str(contents);
Expand Down

0 comments on commit 7e9315e

Please sign in to comment.