Skip to content

Commit

Permalink
Simplify exception spec
Browse files Browse the repository at this point in the history
  • Loading branch information
asterite committed Dec 15, 2016
1 parent 0c6cd7a commit fae6cc4
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions spec/compiler/semantic/exception_spec.cr
Expand Up @@ -404,14 +404,6 @@ describe "Semantic: exception" do
assert_error %(
require "prelude"
def some_method
if rand < 0.999999999
raise "OH NO"
else
2
end
end
class Coco < Exception
def initialize(@x : Foo)
end
Expand Down

0 comments on commit fae6cc4

Please sign in to comment.