Fix Gadfly tests

pull/114/head
Matti Pastell 2018-01-03 08:48:01 +02:00
parent eb87de143b
commit c1795e7310
4 changed files with 7 additions and 11 deletions

View File

@ -39,9 +39,9 @@ function Base.display(report::Report, data)
continue continue
end end
#Always show plain text as well for term mode #Always show plain text as well for term mode
if m "text/plain" && report.cur_chunk.options[:term] #if m ≠ "text/plain" && report.cur_chunk.options[:term]
display(report, "text/plain", data) # display(report, "text/plain", data)
end #end
break break
end end
end end

View File

@ -1,5 +1,7 @@
julia 0.6 julia 0.6
Cairo Cairo
Fontconfig
Gadfly
GR GR
DSP DSP
Plots Plots

View File

@ -52,7 +52,6 @@ julia> x = 1:10
1:10 1:10
julia> plot(x = x, y = x) julia> plot(x = x, y = x)
Plot(...)
~~~~~~~~~~~~~ ~~~~~~~~~~~~~
@ -64,7 +63,6 @@ Plot(...)
julia> print(x) julia> print(x)
1:10 1:10
julia> plot(x = x, y = x) julia> plot(x = x, y = x)
Plot(...)
~~~~~~~~~~~~~ ~~~~~~~~~~~~~
@ -91,7 +89,6 @@ julietta> x = 1:10
1:10 1:10
julietta> plot(x = x, y = x) julietta> plot(x = x, y = x)
Plot(...)
~~~~~~~~~~~~~ ~~~~~~~~~~~~~
@ -103,7 +100,6 @@ Plot(...)
julietta> print(x) julietta> print(x)
1:10 1:10
julietta> plot(x = x, y = x) julietta> plot(x = x, y = x)
Plot(...)
~~~~~~~~~~~~~ ~~~~~~~~~~~~~
@ -184,7 +180,6 @@ julia> x = 1:10
1:10 1:10
julia> plot(x = x, y = x) julia> plot(x = x, y = x)
Plot(...)
~~~~~~~~~~~~~ ~~~~~~~~~~~~~
@ -196,7 +191,6 @@ Plot(...)
julia> print(x) julia> print(x)
1:10 1:10
julia> plot(x = x, y = x) julia> plot(x = x, y = x)
Plot(...)
~~~~~~~~~~~~~ ~~~~~~~~~~~~~

View File

@ -17,8 +17,8 @@ include("rich_output.jl")
info("Test: Caching") info("Test: Caching")
include("cache_test.jl") include("cache_test.jl")
#info("Test: Chunk options with Gadfly") info("Test: Chunk options with Gadfly")
#include("chunk_opts_gadfly.jl") include("chunk_opts_gadfly.jl")
#info("Test: Weaving with Gadfly") #info("Test: Weaving with Gadfly")
#include("gadfly_formats.jl") #include("gadfly_formats.jl")