summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorJun Hiroe <[email protected]>2013-08-02 23:12:23 +0900
committerJun Hiroe <[email protected]>2013-08-02 23:12:23 +0900
commitb775a887de797d5b46626c79eb85e84a176d5b0c (patch)
treebf9fd3b0df79fd191d1fcee623360356cd08255e /test
parentfdb27fd6bd75195412a01b2e114bb80b03d6204b (diff)
downloadmruby-b775a887de797d5b46626c79eb85e84a176d5b0c.tar.gz
mruby-b775a887de797d5b46626c79eb85e84a176d5b0c.zip
I fix order of actual and expect test value in symbol.rb.
Diffstat (limited to 'test')
-rw-r--r--test/t/symbol.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/t/symbol.rb b/test/t/symbol.rb
index e4ced61e0..f852dcd00 100644
--- a/test/t/symbol.rb
+++ b/test/t/symbol.rb
@@ -2,11 +2,11 @@
# Symbol ISO Test
assert('Symbol', '15.2.11') do
- assert_equal Symbol.class, Class
+ assert_equal Class, Symbol.class
end
assert('Symbol superclass', '15.2.11.2') do
- assert_equal Symbol.superclass, Object
+ assert_equal Object, Symbol.superclass
end
assert('Symbol#===', '15.2.11.3.1') do
@@ -15,13 +15,13 @@ assert('Symbol#===', '15.2.11.3.1') do
end
assert('Symbol#id2name', '15.2.11.3.2') do
- assert_equal :abc.id2name, 'abc'
+ assert_equal 'abc', :abc.id2name
end
assert('Symbol#to_s', '15.2.11.3.3') do
- assert_equal :abc.to_s, 'abc'
+ assert_equal 'abc', :abc.to_s
end
assert('Symbol#to_sym', '15.2.11.3.4') do
- assert_equal :abc.to_sym, :abc
+ assert_equal :abc, :abc.to_sym
end