Skip to content

Commit

Permalink
fix replutil tests for running with --inline=no
Browse files Browse the repository at this point in the history
  • Loading branch information
vtjnash committed Mar 8, 2016
1 parent a52b590 commit 8a54ed5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions test/replutil.jl
Original file line number Diff line number Diff line change
Expand Up @@ -251,14 +251,14 @@ end
@test ismatch(r"^@doc \(macro with \d+ method[s]?\)$", stringmime("text/plain", Base.(symbol("@doc"))))

method_defs_lineno = @__LINE__
Base.Symbol() = error(1)
(::Symbol)() = error(2)
EightBitType() = error(3)
(::EightBitType)() = error(4)
EightBitTypeT() = error(5)
(::Type{EightBitTypeT{T}}){T}() = error(6)
(::EightBitTypeT)() = error(7)
(::FunctionLike)() = error(8)
Base.Symbol() = throw(ErrorException("1"))
(::Symbol)() = throw(ErrorException("2"))
EightBitType() = throw(ErrorException("3"))
(::EightBitType)() = throw(ErrorException("4"))
EightBitTypeT() = throw(ErrorException("5"))
(::Type{EightBitTypeT{T}}){T}() = throw(ErrorException("6"))
(::EightBitTypeT)() = throw(ErrorException("7"))
(::FunctionLike)() = throw(ErrorException("8"))


let err_str,
Expand Down

0 comments on commit 8a54ed5

Please sign in to comment.