Skip to content

Commit fae6cc4

Browse files
author
Ary Borenszweig
committedDec 15, 2016
Simplify exception spec
1 parent 0c6cd7a commit fae6cc4

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed
 

‎spec/compiler/semantic/exception_spec.cr

-8
Original file line numberDiff line numberDiff line change
@@ -404,14 +404,6 @@ describe "Semantic: exception" do
404404
assert_error %(
405405
require "prelude"
406406
407-
def some_method
408-
if rand < 0.999999999
409-
raise "OH NO"
410-
else
411-
2
412-
end
413-
end
414-
415407
class Coco < Exception
416408
def initialize(@x : Foo)
417409
end

0 commit comments

Comments
 (0)
Please sign in to comment.