Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (17 sloc) 0.466 kB
FancySpec describe: Matchers with: {
it: "matches with any value defined matching" when: {
m = Matchers MatchAny new: 1 with: 2
m === 0 is: false
m === 1 is: true
m === 2 is: true
m === 3 is_not: true
}
it: "matches only with all values defined matching" when: {
m = Matchers MatchAll new: Integer with: Fixnum
m === -1 is: true
m === 0 is: true
m === 1 is: true
m === 2.1 is_not: true
m === 0.0 is_not: true
}
}
Jump to Line
Something went wrong with that request. Please try again.