Skip to content

Commit

Permalink
fix tests: change assert.falsy to assert.is_nil (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
chobits committed Oct 12, 2024
1 parent aebe492 commit cd23254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/01-unit/21-dns-client/02-client_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,7 @@ describe("[DNS client]", function()
-- first check CNAME
local key = client.TYPE_CNAME..":"..host
local entry = lrucache:get(key)
assert.falsy(entry)
assert.is_nil(entry)

-- check final target
assert.are.equal(typ, answers[1].type)
Expand Down

0 comments on commit cd23254

Please sign in to comment.