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 Jul 3, 2024
1 parent 980d290 commit 95cddff
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 @@ -839,7 +839,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 95cddff

Please sign in to comment.