documentcloud / jammit

Industrial Strength Asset Packaging for Rails
http://documentcloud.github.com/jammit/
MIT License
1.16k stars 197 forks source link

Fix failing test due to incorrect format of fixture file #169

Closed bowsersenior closed 13 years ago

bowsersenior commented 13 years ago

Hi,

I was getting a failing spec for UglifierText#test_javascript_compression . I believe the problem was due to the fixture file and adjusted it so the tests would pass.

Adjust js_test-uglifier.js fixture file to match actual output of compress_js

Thanks and keep up the good work!

jashkenas commented 13 years ago

Looks like you might have a slightly old version of the Uglifier library? The tests are all currently passing for me.

bowsersenior commented 13 years ago

Which Uglifier version is required? I installed the latest Uglifier gem (0.5.4 from https://rubygems.org/gems/uglifier) and got a different error this time:

test_javascript_compression(UglifierText):
ArgumentError: invalid byte sequence in US-ASCII