diff --git a/spec/01-unit/21-dns-client/02-client_spec.lua b/spec/01-unit/21-dns-client/02-client_spec.lua index 23e275e929d9..bbbc03e3967f 100644 --- a/spec/01-unit/21-dns-client/02-client_spec.lua +++ b/spec/01-unit/21-dns-client/02-client_spec.lua @@ -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)