[macruby-changes] [4176] MacRuby/trunk/spec/frozen/core/encoding/converter/convpath_spec.rb

source_changes at macosforge.org source_changes at macosforge.org
Sun May 30 04:14:33 PDT 2010


Revision: 4176
          http://trac.macosforge.org/projects/ruby/changeset/4176
Author:   eloy.de.enige at gmail.com
Date:     2010-05-30 04:14:31 -0700 (Sun, 30 May 2010)
Log Message:
-----------
And actually implement the convpath spec as Patrick proposed...

Modified Paths:
--------------
    MacRuby/trunk/spec/frozen/core/encoding/converter/convpath_spec.rb

Modified: MacRuby/trunk/spec/frozen/core/encoding/converter/convpath_spec.rb
===================================================================
--- MacRuby/trunk/spec/frozen/core/encoding/converter/convpath_spec.rb	2010-05-30 11:10:25 UTC (rev 4175)
+++ MacRuby/trunk/spec/frozen/core/encoding/converter/convpath_spec.rb	2010-05-30 11:14:31 UTC (rev 4176)
@@ -29,6 +29,7 @@
       ec = Encoding::Converter.new('ascii','Big5')
       ec.convpath.size.should == 2
       ec.convpath.first.first.should == Encoding::US_ASCII
+      ec.convpath.first.last.should == ec.convpath.last.first
       ec.convpath.last.last.should == Encoding::Big5
     end
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100530/2fe3a8cd/attachment.html>


More information about the macruby-changes mailing list