Skip to content

Commit f192494

Browse files
committed
docs: update changelog
1 parent ed06155 commit f192494

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
- Update docs mocks usage
66
- Add support for `.bash` test files
77
- Add runtime check for Bash >= 3.2
8-
- Add fallback for clock with seconds resolution only
8+
- Add fallback for `clock::now` with seconds resolution only
9+
- Add `set_test_title` to allow custom test titles
910

1011
## [0.22.3](https://github.com/TypedDevs/bashunit/compare/0.22.2...0.22.3) - 2025-07-27
1112

docs/test-files.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,14 @@ If you need a more descriptive title, you can override it inside the test using
4343
::: code-group
4444
```bash [Example]
4545
function test_handles_invalid_input() {
46-
set_test_title "🔥 handles invalid input with 💣"
46+
set_test_title "🔥 handles custom test names 🚀"
4747
# test logic...
4848
}
4949
```
5050
:::
5151
5252
The provided title is used only for display purposes. The original function name is still
53-
used internally, and custom titles are reset automatically after each test, so there's
54-
no need for manual cleanup. Setting a new title again will replace the previous one for the same test.
53+
used internally, and custom titles are reset automatically after each test.
5554
5655
## `set_up` function
5756

0 commit comments

Comments
 (0)