[Pkg-javascript-commits] [node-tap] 28/186: unit test for	obj-to-yaml
    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 4507b014ded2c3515ff138265160798aadb851d4
Author: isaacs <i at izs.me>
Date:   Tue Sep 5 22:08:28 2017 -0700
    unit test for obj-to-yaml
---
 unit/obj-to-yaml.js | 6 ++++++
 1 file changed, 6 insertions(+)
diff --git a/unit/obj-to-yaml.js b/unit/obj-to-yaml.js
new file mode 100644
index 0000000..1a58bb8
--- /dev/null
+++ b/unit/obj-to-yaml.js
@@ -0,0 +1,6 @@
+'use strict'
+const t = require('../')
+const oty = require('../lib/obj-to-yaml.js')
+
+t.match(oty({ todo: true }), '')
+t.match(oty({ foo: 1 }), '  ---\n  foo: 1\n  ...')
-- 
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