test/tc/expand_path.rb in rio-0.3.6 vs test/tc/expand_path.rb in rio-0.3.7

- old
+ new

@@ -7,19 +7,18 @@ require 'rio' require 'test/unit' require 'test/unit/testsuite' class TC_RIO_expand_path < Test::Unit::TestCase - require 'extensions/symbol' def initialize(*args) super @once = false @tdir = rio('qp/expand_path') end def assert!(a,msg="negative assertion") assert((!(a)),msg) end - def smap(a) a.map( &:to_s ) end + def smap(a) a.map{|el| el.to_s} end def setup s_dir = '' #$trace_states = true unless @once @once = true