File tree 2 files changed +4
-4
lines changed 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 13
13
14
14
require 'closure-compiler'
15
15
16
- class MiniTest :: Unit :: TestCase
16
+ class Minitest :: Test
17
17
include Closure
18
18
end
Original file line number Diff line number Diff line change 1
1
require 'test_helper'
2
2
3
- class ClosureCompilerTest < MiniTest :: Unit :: TestCase
3
+ class ClosureCompilerTest < Minitest :: Test
4
4
5
5
ORIGINAL = "window.hello = function(name) { return console.log('hello ' + name ); }; hello.squared = function(num) { return num * num; }; hello('world');"
6
6
@@ -47,10 +47,10 @@ def test_jar_and_java_specifiation
47
47
end
48
48
49
49
def test_exceptions
50
- assert_raise ( Closure ::Error ) do
50
+ assert_raises ( Closure ::Error ) do
51
51
Compiler . new . compile ( '1++' )
52
52
end
53
- assert_raise ( Closure ::Error ) do
53
+ assert_raises ( Closure ::Error ) do
54
54
Compiler . new . compile ( 'obj = [1 2, 3]' )
55
55
end
56
56
end
You can’t perform that action at this time.
0 commit comments