ryanb/mustard — pull request #3 by gshutler (2012-12-07 09:31:44+00:00)
Title: Added ==, !=, and =~ operators as matchers

Added aliases for:

* `==` to `equal`
* `!=` to `not_equal`
* `=~` to `match`

This was one feature of https://github.com/gshutler/mustard that I liked. I can read these two just as easily as one another and it's nice to have the option to choose:

```ruby
# English
5.must.equal 5
4.must_not.equal 5
"foo".must.match /bar/

# Code
5.must == 5
4.must != 5
"foo".must =~ /bar/
```

`!=` was added for symmetry as much as anything else and `=~` is the only other operator I use in assertions with any frequency.