D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Test
/
Unit
/
Assertions
/
Filename :
assert_equal-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Passes if <tt>expected</tt> == +actual. - !ruby/struct:SM::Flow::P body: 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. - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " assert_equal 'MY STRING', 'my string'.upcase\n" full_name: Test::Unit::Assertions#assert_equal is_singleton: false name: assert_equal params: (expected, actual, message=nil) visibility: public