Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changed expectation to use regex.

- Closes #48.
  • Loading branch information...
commit 2764780042d97ca2f35423c3c9d3d54d810fe8de 1 parent 40e7ace
@kchien kchien authored dchelimsky committed
Showing with 2 additions and 3 deletions.
  1. +2 −3 features/matchers/include.feature
5 features/matchers/include.feature
@@ -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 and :d |
| expected {:a=>7, :b=>5} not to include :a and :d |
- | expected {:a=>7, :b=>5} to include {:a=>7, :d=>3} |
- | expected {:a=>7, :b=>5} not 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)\}/
+ And the output should match /expected \{:a=>7, :b=>5\} not to include \{(?::a=>7, :d=>3)|(?::d=>3, :a=>7)\}/
Please sign in to comment.
Something went wrong with that request. Please try again.