mirror of
https://github.com/marko-js/marko.git
synced 2026-02-01 16:07:13 +00:00
Cleanup tests and add assertions that all deprecated tests log warnings, and all non deprecated tests don't.
7 lines
147 B
JavaScript
7 lines
147 B
JavaScript
var notEmpty = require("./notEmpty");
|
|
|
|
module.exports = function(o) {
|
|
require("complain")("empty is deprecated.");
|
|
return !notEmpty(o);
|
|
};
|