Revision
4176
Author
eloy.de.enige@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

Diff

Modified: MacRuby/trunk/spec/frozen/core/encoding/converter/convpath_spec.rb (4175 => 4176)


--- 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