mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +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);
|
|
};
|