Skip to content

Commit

Permalink
Add MessageDescription method to internal test messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmalloc committed Mar 27, 2023
1 parent cb0c287 commit 2cdae6f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
13 changes: 10 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ The format is based on [Keep a Changelog], and this project adheres to
[keep a changelog]: https://keepachangelog.com/en/1.0.0/
[semantic versioning]: https://semver.org/spec/v2.0.0.html

## [0.13.10] - 2023-03-27

### Added

- Added `MessageDescription` method to internal test messages in preparation for it becoming mandatory

## [0.13.9] - 2023-01-06

### Changed
Expand Down Expand Up @@ -100,8 +106,8 @@ concepts of "actions" and "expectations" with the goal of a more consistent API
and a greater level of extensibility.

Despite the large number of backwards incompatible changes it is relatively
simple to migrate existing tests to the new API. Please see the
[v0.11.0 migration guide] for detailed instructions.
simple to migrate existing tests to the new API. Please see the [migration
guide][0.11.0 migration guide] for detailed instructions.

### Testing API

Expand Down Expand Up @@ -308,6 +314,7 @@ simple to migrate existing tests to the new API. Please see the
[0.9.0]: https://github.com/dogmatiq/testkit/releases/tag/v0.9.0
[0.10.0]: https://github.com/dogmatiq/testkit/releases/tag/v0.10.0
[0.11.0]: https://github.com/dogmatiq/testkit/releases/tag/v0.11.0
[0.11.0 migration guide]: https://github.com/dogmatiq/testkit/blob/main/docs/MIGRATING-v0.11.0.md
[0.12.0]: https://github.com/dogmatiq/testkit/releases/tag/v0.12.0
[0.13.0]: https://github.com/dogmatiq/testkit/releases/tag/v0.13.0
[0.13.1]: https://github.com/dogmatiq/testkit/releases/tag/v0.13.1
Expand All @@ -319,7 +326,7 @@ simple to migrate existing tests to the new API. Please see the
[0.13.7]: https://github.com/dogmatiq/testkit/releases/tag/v0.13.7
[0.13.8]: https://github.com/dogmatiq/testkit/releases/tag/v0.13.8
[0.13.9]: https://github.com/dogmatiq/testkit/releases/tag/v0.13.9
[v0.11.0 migration guide]: https://github.com/dogmatiq/testkit/blob/main/docs/MIGRATING-v0.11.0.md
[0.13.10]: https://github.com/dogmatiq/testkit/releases/tag/v0.13.10

<!-- version template
## [0.0.1] - YYYY-MM-DD
Expand Down
6 changes: 6 additions & 0 deletions internal/fixtures/protobuf.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package fixtures

// MessageDescription panics unconditionally.
func (x *ProtoMessage) MessageDescription() string {
panic("not implemented")
}
2 changes: 1 addition & 1 deletion internal/fixtures/protobuf.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2cdae6f

Please sign in to comment.