Skip to content

Commit

Permalink
Fix gc_enable deprecation in test/misc.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
tkelman committed Jun 11, 2015
1 parent c94629c commit 818e2f3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/misc.jl
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,11 @@ end


# test gc_enable/disable
@test gc_enable()
@test gc_disable()
@test gc_disable() == false
@test gc_enable() == false
@test gc_enable()
@test gc_enable(true)
@test gc_enable(false)
@test gc_enable(false) == false
@test gc_enable(true) == false
@test gc_enable(true)

# test methodswith
immutable NoMethodHasThisType end
Expand Down

0 comments on commit 818e2f3

Please sign in to comment.