[Pkg-javascript-commits] [node-tap] 31/186: unit test for synonyms (kinda silly, but still)

Bastien Roucariès rouca at moszumanska.debian.org
Fri Dec 1 16:40:40 UTC 2017


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

rouca pushed a commit to branch master
in repository node-tap.

commit 5d7dab73a7884231a262fc5a88dc099836e851c9
Author: isaacs <i at izs.me>
Date:   Wed Sep 6 15:45:21 2017 -0700

    unit test for synonyms (kinda silly, but still)
---
 unit/synonyms.js | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/unit/synonyms.js b/unit/synonyms.js
new file mode 100644
index 0000000..8556167
--- /dev/null
+++ b/unit/synonyms.js
@@ -0,0 +1,16 @@
+'use strict'
+const t = require('../')
+const synonyms = require('../lib/synonyms.js')
+
+t.match(synonyms, {
+  notOk: [
+    'notOk',
+    'notok',
+    'not_ok',
+    'false',
+    'assertNot',
+    'assertnot',
+    'assert_not'
+  ],
+  type: [ 'type', 'isa', 'isA', 'isa', 'is_a' ]
+})

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



More information about the Pkg-javascript-commits mailing list