Changeset 85750 in webkit


Ignore:
Timestamp:
May 4, 2011 7:55:42 AM (13 years ago)
Author:
caio.oliveira@openbossa.org
Message:

2011-05-04 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>

Reviewed by Adam Roben.

REGRESSION (r85657): webkitpy.common.prettypatch_unittest.PrettyPatchTest.test_pretty_diff_encodings failing on Leopard
https://bugs.webkit.org/show_bug.cgi?id=60164

Use Array#length to get the number of elements in an array. Array#count
was added in Ruby 1.8.7, but Leopard have Ruby 1.8.6.

  • PrettyPatch/PrettyPatch.rb:
Location:
trunk/Websites/bugs.webkit.org
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Websites/bugs.webkit.org/ChangeLog

    r85657 r85750  
     12011-05-04  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
     2
     3        Reviewed by Adam Roben.
     4
     5        REGRESSION (r85657): webkitpy.common.prettypatch_unittest.PrettyPatchTest.test_pretty_diff_encodings failing on Leopard
     6        https://bugs.webkit.org/show_bug.cgi?id=60164
     7
     8        Use Array#length to get the number of elements in an array. Array#count
     9        was added in Ruby 1.8.7, but Leopard have Ruby 1.8.6.
     10
     11        * PrettyPatch/PrettyPatch.rb:
     12
    1132011-05-03  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
    214
  • trunk/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb

    r85657 r85750  
    3030        end
    3131
    32         $last_prettify_file_count = fileDiffs.count
     32        $last_prettify_file_count = fileDiffs.length
    3333        str += fileDiffs.collect{ |diff| diff.to_html }.join
    3434    end
Note: See TracChangeset for help on using the changeset viewer.