Skip to content

Commit

Permalink
@compat for fixing a test
Browse files Browse the repository at this point in the history
  • Loading branch information
jumutc committed Aug 25, 2015
1 parent 866ba4d commit 6076a4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/test_show.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ outOriginal = STDOUT
model = SALSAModel(LINEAR,PEGASOS(),HINGE)
show(outWrite, model)

s = ASCIIString(readavailable(outRead))
s = @compat ASCIIString(readavailable(outRead))
redirect_stdout(outOriginal)

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

0 comments on commit 6076a4f

Please sign in to comment.