Skip to content

Commit

Permalink
test for blacklist_remover
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jan 15, 2020
1 parent 65ae926 commit d05ef66
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/snoopi.jl
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,11 @@ uncompiled(x) = x + 1
pc = SnoopCompile.parcel(tinf)
FK = pc[:FuncKinds]
@test any(str->match(r"isdefined.*#inner#", str) !== nothing, FK)

blacklist = ["hi","bye"]
pcI = ["good","bad","hi","bye","no"]

@test blacklist_remover(blacklist, pcI) == ["good","bad","no"]
end

@testset "Lots of methods" begin
Expand Down

0 comments on commit d05ef66

Please sign in to comment.