Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
elijahr committed Apr 10, 2024
1 parent bb62b97 commit 4f880a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.7.0] - 2022-12-01
## [1.7.0] - 2024-04-09

### Added

- consistent tool installation and versioning via asdf
- Docker containers

### Fixed

Expand Down
4 changes: 2 additions & 2 deletions test/fix.bats
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ teardown() {
assert_line "a.json"
assert_line "a.yml"
assert [ "$(echo "${output}" | grep -cF " ↳ prettier...........................wrote" -c)" -eq 2 ]
assert [ "$(echo "${output}" | grep -cF " ↳ yamllint...........................wrote" -c)" -eq 1 ]
assert [ "$(echo "${output}" | grep -cF " ↳ yamllint...........................ok" -c)" -eq 1 ]
}

@test 'lintball fix --since HEAD~1' {
Expand All @@ -38,7 +38,7 @@ teardown() {
assert_line "a.xml"
assert_line "a.yml"
assert [ "$(echo "${output}" | grep -cF " ↳ prettier...........................wrote")" -eq 3 ]
assert [ "$(echo "${output}" | grep -cF " ↳ yamllint...........................wrote")" -eq 1 ]
assert [ "$(echo "${output}" | grep -cF " ↳ yamllint...........................ok")" -eq 1 ]
}

@test 'lintball fix # lintball lang=bash' {
Expand Down

0 comments on commit 4f880a1

Please sign in to comment.