[macruby-changes] [2109] MacRuby/branches/experimental/spec/frozen/tags/macruby/core

source_changes at macosforge.org source_changes at macosforge.org
Tue Jul 28 22:45:18 PDT 2009


Revision: 2109
          http://trac.macosforge.org/projects/ruby/changeset/2109
Author:   lsansonetti at apple.com
Date:     2009-07-28 22:45:17 -0700 (Tue, 28 Jul 2009)
Log Message:
-----------
tagging failing Array#pack and String#unpack specs (that's a lot of them...)

Modified Paths:
--------------
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/pack_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/unpack_tags.txt

Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/pack_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/pack_tags.txt	2009-07-29 05:11:26 UTC (rev 2108)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/pack_tags.txt	2009-07-29 05:45:17 UTC (rev 2109)
@@ -89,3 +89,17 @@
 fails:Array#pack with format 'm' tries to convert the pack argument to a String using #to_str
 fails:Array#pack with format 'u' tries to convert the pack argument to a String using #to_str
 fails:Array#pack with format 'w' calls to_int on non-integer values before packing
+fails:Array#pack just ignores unknown format
+fails:Array#pack with format 'v' returns a string containing 2 bytes for an integer
+fails:Array#pack with format 's' returns a string containing 2 bytes for an integer
+fails:Array#pack with format 'S' returns a string containing 2 bytes for an integer
+fails:Array#pack with format 's!' returns a string containing 2 bytes for an integer
+fails:Array#pack with format 's_' returns a string containing 2 bytes for an integer
+fails:Array#pack with format 'S!' returns a string containing 2 bytes for an integer
+fails:Array#pack with format 'S_' returns a string containing 2 bytes for an integer
+fails:Array#pack with format 'f' accepts a NaN
+fails:Array#pack with format 'd' accepts a NaN
+fails:Array#pack with format 'e' accepts a NaN
+fails:Array#pack with format 'E' accepts a NaN
+fails:Array#pack with format 'g' accepts a NaN
+fails:Array#pack with format 'G' accepts a NaN

Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/unpack_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/unpack_tags.txt	2009-07-29 05:11:26 UTC (rev 2108)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/unpack_tags.txt	2009-07-29 05:45:17 UTC (rev 2109)
@@ -1,2 +1,13 @@
 fails:String#unpack with 'DdEeFfGg' directives returns an array by decoding self in little-endian order according to the format string
 fails:String#unpack with 'm' directive returns an array by decoding self according to the format string
+fails:String#unpack with 'w' directive produces a BER-compressed integer
+fails:String#unpack with 'U' directive returns an array by decoding self according to the format string
+fails:String#unpack with 'H' and 'h' directives returns an array by decoding self according to the format string
+fails:String#unpack with 'B' and 'b' directives returns an array by decoding self according to the format string
+fails:String#unpack with 'DdEeFfGg' directives returns an array by decoding self according to the format string
+fails:String#unpack with 'Q' and 'q' directives returns Bignums for big numeric values on little-endian platforms
+fails:String#unpack with 'Q' and 'q' directives returns an array in little-endian (native format) order by decoding self according to the format string
+fails:String#unpack with 'C' and 'c' directives returns an array by decoding self according to the format string
+fails:String#unpack with 'V' and 'v' directives returns an array by decoding self according to the format string
+fails:String#unpack with 'N' and 'n' directives returns an array by decoding self according to the format string
+fails:String#unpack returns an array by decoding self in little-endian (native format) order according to the format string
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090728/549be7b0/attachment.html>


More information about the macruby-changes mailing list