diff --git a/test/error.jl b/test/error.jl index 9b87cb6fff185..913d303496e3e 100644 --- a/test/error.jl +++ b/test/error.jl @@ -93,6 +93,6 @@ end f44319(1) catch e s = sprint(showerror, e) - @test s == "MethodError: no method matching f44319(::Int64)\nClosest candidates are:\n f44319() at none:0" + @test s == "MethodError: no method matching f44319(::Int$(Sys.WORD_SIZE))\nClosest candidates are:\n f44319() at none:0" end end