From 27903f0c674a360e15459fbe95701f5ad7f24ea9 Mon Sep 17 00:00:00 2001 From: Takafumi Arakaki Date: Sat, 11 Aug 2018 20:45:35 -0700 Subject: [PATCH] Fix tests for Julia 1.0 --- test/runtests.jl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index 83d56e9..ba99ff3 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -136,16 +136,16 @@ end ) do @test_nothrow @eval @search read_stdout @test_nothrow @eval @search read_stdout(`cat`, "hello") - @test_nothrow @eval @search read_stdout(::Cmd) - @test_nothrow @eval @search read_stdout(`cat`::Cmd) + @test_nothrow @eval @search read_stdout(::Cmd, ::String) + @test_nothrow @eval @search read_stdout(`cat`::Cmd, "hello"::String) @test_nothrow @eval @search @search @test_nothrow @eval @search @search(read_stdout) @test_nothrow @eval @search "" @test_nothrow @eval @search 1 @test_nothrow @eval @search InteractiveCodeSearch - @test_nothrow @eval @searchmethods InteractiveCodeSearch.CONFIG - @test_nothrow @eval @searchmethods ::InteractiveCodeSearch.SearchConfig - @test_nothrow @eval @searchmethods c::InteractiveCodeSearch.SearchConfig + @test_nothrow @eval @searchmethods im + @test_nothrow @eval @searchmethods ::Complex + @test_nothrow @eval @searchmethods c::Complex @test open_args == repeat([(find_source_file("test.jl"), 249)], outer=12)