summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/promzard/test/validate.input
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/promzard/test/validate.input')
-rw-r--r--deps/npm/node_modules/promzard/test/validate.input8
1 files changed, 8 insertions, 0 deletions
diff --git a/deps/npm/node_modules/promzard/test/validate.input b/deps/npm/node_modules/promzard/test/validate.input
new file mode 100644
index 0000000000..839c065229
--- /dev/null
+++ b/deps/npm/node_modules/promzard/test/validate.input
@@ -0,0 +1,8 @@
+module.exports = {
+ "name": prompt("name", function (data) {
+ if (data === 'cool') return data
+ var er = new Error('not cool')
+ er.notValid = true
+ return er
+ })
+}