Closed gmartsenkov closed 2 years ago
There were a couple of issues here.
Test
prefix was dropped a while ago. The docs have been updated to reflect this.Spectator::Value(T)
was not resolving properly when defining a matcher outside of the Spectator
module.The second issue should be resolved in the latest release (v0.11.3).
If this issue isn't resolved, please reopen. Thanks!
The example here fails to compile - https://github.com/icy-arctic-fox/spectator/wiki/Custom-Matchers It fails with
Error: undefined constant ::Spectator::TestValue
.Tried changing that to
Spectator::Value
which seems to be the new name but that fails with:Also thanks for the wonderful library you've built!