Files: efcf9fd06b02fa9bcd28681b4c777224e19702bb / test / test-79-npm / fmt / fmt.js
177 bytesRaw
1 | ; |
2 | |
3 | var fmt = require('fmt'); |
4 | |
5 | var save; |
6 | console.log = function (s) { |
7 | save = s; |
8 | }; |
9 | |
10 | fmt.sep(); |
11 | |
12 | if (save.slice(0, 3) === '===') { |
13 | process.stdout.write('ok\n'); |
14 | } |
15 |
Built with git-ssb-web