diff options
Diffstat (limited to 'src/web/server/h2o/libh2o/deps/mruby/test/t/symbol.rb')
-rw-r--r-- | src/web/server/h2o/libh2o/deps/mruby/test/t/symbol.rb | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/web/server/h2o/libh2o/deps/mruby/test/t/symbol.rb b/src/web/server/h2o/libh2o/deps/mruby/test/t/symbol.rb deleted file mode 100644 index 9059f45c2..000000000 --- a/src/web/server/h2o/libh2o/deps/mruby/test/t/symbol.rb +++ /dev/null @@ -1,30 +0,0 @@ -## -# Symbol ISO Test - -assert('Symbol') do - assert_equal :"a", :a - assert_equal :"a#{1}", :a1 - assert_equal :'a', :a - assert_equal :'a#{1}', :"a\#{1}" -end - -assert('Symbol', '15.2.11') do - assert_equal Class, Symbol.class -end - -assert('Symbol#===', '15.2.11.3.1') do - assert_true :abc == :abc - assert_false :abc == :cba -end - -assert('Symbol#id2name', '15.2.11.3.2') do - assert_equal 'abc', :abc.id2name -end - -assert('Symbol#to_s', '15.2.11.3.3') do - assert_equal 'abc', :abc.to_s -end - -assert('Symbol#to_sym', '15.2.11.3.4') do - assert_equal :abc, :abc.to_sym -end |