Skip to content

Instantly share code, notes, and snippets.

@fabiomcosta
Created December 20, 2011 00:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fabiomcosta/1499551 to your computer and use it in GitHub Desktop.
Save fabiomcosta/1499551 to your computer and use it in GitHub Desktop.
testling isEmpty
echo 'function isEmpty (o) { for (var i in o) return false; return true } require("testling")(function (t) { t.ok(isEmpty({})); t.ok(!isEmpty({toString:1})); t.end() })' | curl -sSNT- testling.com -u substack@gmail.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment