Skip to content

Commit

Permalink
Update runtests.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
chriselrod committed Feb 22, 2022
1 parent d5b706f commit bb112e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ TurboDense (static(24), static(8)) with bias.
Activation layer applying: tanh
TurboDense (static(8), static(2)) with bias.
SquaredLoss"""

@test sprint((io, t) -> show(io, t), sc) == print_str0
if VERSION >= v"1.6"
@test sprint((io, t) -> show(io, t), sc) == print_str0
@test sprint((io, t) -> show(io, t), scflp) == print_str1
else
# typename doesn't work on 1.5
@test_broken sprint((io, t) -> show(io, t), sc) == print_str0
@test_broken sprint((io, t) -> show(io, t), scflp) == print_str1
end

Expand Down

0 comments on commit bb112e6

Please sign in to comment.