diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 58546abd..dd4c3608 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 diff --git a/src/snapshot.rs b/src/snapshot.rs index 6167a772..fe15daa4 100644 --- a/src/snapshot.rs +++ b/src/snapshot.rs @@ -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);