Skip to content

Commit

Permalink
removing @compat
Browse files Browse the repository at this point in the history
  • Loading branch information
jumutc committed Aug 25, 2015
1 parent c608703 commit 52ccfc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/test_show.jl
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
using SALSA, Base.Test, Compat
using SALSA, Base.Test

outOriginal = STDOUT
(outRead, outWrite) = redirect_stdout()
model = SALSAModel(LINEAR,PEGASOS(),HINGE)
show(outWrite, model)

s = @compat ASCIIString(readavailable(outRead))
s = ASCIIString(map(Char,readavailable(outRead)))
redirect_stdout(outOriginal)

@test contains(s,"SALSA model:")
Expand Down

0 comments on commit 52ccfc4

Please sign in to comment.