[Pkg-javascript-commits] [node-regjsparser] 02/02: Added another simple test

Julien Puydt julien.puydt at laposte.net
Mon Aug 21 21:36:27 UTC 2017


This is an automated email from the git hooks/post-receive script.

jpuydt-guest pushed a commit to branch master
in repository node-regjsparser.

commit 317f94385b59606393e8ac329a607c1e475a35d3
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Mon Aug 21 23:36:24 2017 +0200

    Added another simple test
---
 debian/tests/control | 2 +-
 debian/tests/simple  | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/tests/control b/debian/tests/control
index f79bf1c..e55b0cb 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,2 @@
-Tests: require
+Tests: require simple
 Depends: node-regjsparser
diff --git a/debian/tests/simple b/debian/tests/simple
new file mode 100644
index 0000000..bd4c626
--- /dev/null
+++ b/debian/tests/simple
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+node -e "parse=require('regjsparser').parse;ast=parse('a');ast.codepoint==97 || process.exit(1)"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-regjsparser.git



More information about the Pkg-javascript-commits mailing list