Skip to content

Commit 4b2a486

Browse files
authored
Merge pull request #616 from SauronBot/feat/77-assert-custom-label
feat(assert): add optional custom label to assert functions (#77)
2 parents 720e5b9 + 956d493 commit 4b2a486

File tree

3 files changed

+96
-81
lines changed

3 files changed

+96
-81
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
### Added
66
- Allow `bashunit::spy` to accept an optional exit code (e.g. `bashunit::spy thing 1`) or custom implementation function (e.g. `bashunit::spy thing mock_thing`) (#600)
7+
- Allow most assert functions to accept an optional trailing label parameter to override the failure message title (e.g. `assert_same "a" "$b" "checking user name"`) (#77)
78

89
### Fixed
910
- Fix spying on `echo` or `printf` causing bashunit to hang due to infinite recursion (#607)

0 commit comments

Comments
 (0)