Skip to content

Commit

Permalink
Changed expectation to use regex.
Browse files Browse the repository at this point in the history
- Closes #48.
  • Loading branch information
kchien authored and dchelimsky committed Dec 11, 2010
1 parent 40e7ace commit 2764780
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions features/matchers/include.feature
Expand Up @@ -131,6 +131,5 @@ Feature: include matcher
| expected {:a=>7, :b=>5} to include {:a=>5, :b=>7} | | expected {:a=>7, :b=>5} to include {:a=>5, :b=>7} |
| expected {:a=>7, :b=>5} to include :a and :d | | expected {:a=>7, :b=>5} to include :a and :d |
| expected {:a=>7, :b=>5} not to include :a and :d | | expected {:a=>7, :b=>5} not to include :a and :d |
| expected {:a=>7, :b=>5} to include {:a=>7, :d=>3} | And the output should match /expected \{:a=>7, :b=>5\} to include \{(?::a=>7, :d=>3)|(?::d=>3, :a=>7)\}/
| expected {:a=>7, :b=>5} not to include {:a=>7, :d=>3} | And the output should match /expected \{:a=>7, :b=>5\} not to include \{(?::a=>7, :d=>3)|(?::d=>3, :a=>7)\}/

0 comments on commit 2764780

Please sign in to comment.