Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (8 sloc) 0.377 kB
---
assert_equal: |-
# 'cheat assertions' for the rest
assert_equal(expected, actual, message=nil)
Passes if expected == +actual.
Note that the ordering of arguments is important, since a helpful error message is generated when this one fails that tells you the values of expected and actual.
Example:
assert_equal 'MY STRING', 'my string'.upcase
Jump to Line
Something went wrong with that request. Please try again.