Revision
4164
Author
eloy.de.enige@gmail.com
Date
2010-05-26 13:30:35 -0700 (Wed, 26 May 2010)

Log Message

Add failing test about Array#pack returning a string with the wrong encoding.

Modified Paths

Diff

Modified: MacRuby/trunk/test_vm/encoding.rb (4163 => 4164)


--- MacRuby/trunk/test_vm/encoding.rb	2010-05-26 20:30:25 UTC (rev 4163)
+++ MacRuby/trunk/test_vm/encoding.rb	2010-05-26 20:30:35 UTC (rev 4164)
@@ -1,3 +1,5 @@
 assert "US-ASCII", "File.open('../Rakefile', 'r:US-ASCII') {|f| puts f.read.encoding.name }"
 
 assert ":ok", "puts ':ok'.encode('US-ASCII')"
+
+assert "true", "p [].pack('U*').encoding.name == 'UTF-8'"
\ No newline at end of file