Skip to content

Commit

Permalink
Changelog comment formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kieran-ryan committed Apr 9, 2024
1 parent 260203b commit 14b3f83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]
### Added
- [JavaScript] Trim comment trailing whitespace and introduce space after comment hashtag ([#75](https://github.com/cucumber/gherkin-utils/pull/75))

## [9.0.0] - 2024-03-26
### Changed
Expand Down
2 changes: 1 addition & 1 deletion javascript/test/prettyTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ Feature: hello
it('should retain spaces between hashtag and text', () => {
assert.deepStrictEqual(prettyComment('# text'), '# text')
})
it('inline hashtag should be ignored', () => {
it('should not introduce space after inline hashtag', () => {
assert.deepStrictEqual(prettyComment('number #1'), 'number #1')
})
})
Expand Down

0 comments on commit 14b3f83

Please sign in to comment.