diff --git a/README.md b/README.md index bc64896..21266d5 100644 --- a/README.md +++ b/README.md @@ -142,7 +142,7 @@ Example of adding a custom `empty` assertion: local lust = require 'lust' lust.paths.empty = { - f = function(value) + test = function(value) return #value == 0, 'expected ' .. tostring(value) .. ' to be empty', 'expected ' .. tostring(value) .. ' to not be empty'