Sha256: fbdb584cb437535712eedb4d28e92d9bd5294f7cb0324e19146be9d5acd6c78e
Contents?: true
Size: 356 Bytes
Versions: 3
Compression:
Stored size: 356 Bytes
Contents
# encoding: utf-8 # frozen_string_literal: true require 'optimize-js' require 'test/unit' class OptimizeJSTest < Test::Unit::TestCase def test_api assert_equal OptimizeJS.perform('!function() {}()'), '!(function() {})()' assert_match /optimize-js\.web\.min\.js/, OptimizeJS.js_path assert_match /optimize/, OptimizeJS.js_function end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
optimize-js-1.0.3 | test/test-optimize-js.rb |
optimize-js-1.0.2 | test/test-optimize-js.rb |
optimize-js-1.0.1 | test/test-optimize-js.rb |