Skip to content

Commit b06c4a3

Browse files
Fix sampler test
1 parent 824fd8e commit b06c4a3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/samplers.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ end
168168

169169
b = RLTrajectories.StatsBase.sample(t)
170170
@test haskey(b, :priority)
171+
@test sum(b.action .== 0) == 0
171172
end
172173

173174

@@ -197,5 +198,5 @@ end
197198
end
198199

199200
b = RLTrajectories.StatsBase.sample(t)
200-
@test haskey(b, :priority)
201+
@test sum(b.action .== 0) == 0
201202
end

0 commit comments

Comments
 (0)