Skip to content

Commit

Permalink
Fix senseless interaction example (spockframework#1034)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vampire authored and leonard84 committed Jan 9, 2020
1 parent 3d79d9d commit f7eda27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/interaction_based_testing.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ Sometimes it can be useful to match "anything", in some sense of the word:
include::{sourcedir}/interaction/InteractionDocSpec.groovy[tag=anyConstraints]
----

NOTE: Although `(_.._) * _._(*_) >> _` is a valid interaction declaration,
NOTE: Although `(\_.._) * \_._(*_) >> _` is a valid interaction declaration,
it is neither good style nor particularly useful.

=== Strict Mocking
Expand Down

0 comments on commit f7eda27

Please sign in to comment.