File tree 2 files changed +9
-3
lines changed
2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -241,7 +241,6 @@ function detect_stlascii(io)
241
241
len < 80 && return false
242
242
header = read (io, 80 ) # skip header
243
243
seek (io, pos)
244
- @show String (header[1 : 6 ])
245
244
header[1 : 6 ] == b " solid " && ! detect_stlbinary (io)
246
245
finally
247
246
seek (io, pos)
Original file line number Diff line number Diff line change 1
1
println (" these tests will print warnings: " )
2
+
3
+ if VERSION > v " 0.6.9"
4
+ const fetch07 = fetch
5
+ else
6
+ const fetch07 = wait
7
+ end
8
+
2
9
@testset " Not installed" begin
3
10
eval (Base, :(is_interactive = true )) # for interactive error handling
4
11
@@ -9,11 +16,11 @@ println("these tests will print warnings: ")
9
16
rserr, wrerr = redirect_stderr ()
10
17
ref = @async save (" test.not_installed" , nothing )
11
18
println (wr, " y" )
12
- @test_throws CompositeException fetch (ref) # ("unknown package NotInstalled")
19
+ @test_throws CompositeException fetch07 (ref) # ("unknown package NotInstalled")
13
20
ref = @async save (" test.not_installed" , nothing )
14
21
println (wr, " invalid" ) # test invalid input
15
22
println (wr, " n" ) # don't install
16
- fetch (ref)
23
+ fetch07 (ref)
17
24
@test istaskdone (ref)
18
25
19
26
close (rs);close (wr);close (rserr);close (wrerr)
You can’t perform that action at this time.
0 commit comments