Skip to content

Commit 06856fe

Browse files
committed
isinteractive seems to mess with travis
or is it!?
1 parent e3445a1 commit 06856fe

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

test/error_handling.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
context("Not installed") do
2+
eval(Base, :(is_interactive = true)) # for interactive error handling
3+
24
add_format(format"NotInstalled", (), ".not_installed", [:NotInstalled])
35
stdin_copy = STDIN
46
rs, wr = redirect_stdin()
@@ -16,4 +18,6 @@ context("Not installed") do
1618
@fact istaskdone(ref) --> true
1719
redirect_stdin(stdin_copy)
1820
close(rs);close(wr);
21+
eval(Base, :(is_interactive = false)) # for interactive error handling
22+
1923
end

test/runtests.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
eval(Base, :(is_interactive = true)) # for interactive error handling
21
using FileIO
32
using FactCheck
43
facts("FileIO") do
54
include("query.jl")
65
include("loadsave.jl")
6+
77
include("error_handling.jl")
88
end
9+
910
# make Travis fail when tests fail:
1011
FactCheck.exitstatus()

0 commit comments

Comments
 (0)