Skip to content

Commit c700bcb

Browse files
committed
Require 'English' instead of manually aliasing
1 parent f68a071 commit c700bcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
require_relative '../../spec_helper'
2+
require 'English'
23

34
describe "alias keyword" do
45
it "aliases $ERROR_INFO to $! in English and $ERROR_INFO still returns a backtrace" do
5-
alias $ERROR_INFO $!
66
(1 / 0 rescue $ERROR_INFO).should_not == nil
77
end
88
end

0 commit comments

Comments
 (0)