add failing test

This commit is contained in:
Amjad Masad 2015-12-22 20:47:08 -08:00
parent fd3aad5811
commit 76eae9bcd8

View File

@ -22,5 +22,12 @@ suite("evaluation", function () {
undefined undefined
); );
}); });
test("it should not mistake lack of confidence for falsy", function () {
assert.strictEqual(
getPath("foo || 'bar'").get("body")[0].evaluate().value,
undefined
);
});
}); });
}); });