changed debian/source/format to native
This commit is contained in:
parent
1878251193
commit
06e7da8454
|
@ -1 +0,0 @@
|
|||
skip-test-that-require-tap-14.patch
|
|
@ -1,30 +0,0 @@
|
|||
Description: this subtest requires tap ≥ 14
|
||||
Author: Yadd <yadd@debian.org>
|
||||
Forwarded: not-needed
|
||||
Last-Update: 2021-08-18
|
||||
|
||||
--- a/test/collect.js
|
||||
+++ b/test/collect.js
|
||||
@@ -2,22 +2,6 @@
|
||||
const t = require('tap')
|
||||
const MP = require('../index.js')
|
||||
|
||||
-t.test('basic', async t => {
|
||||
- const mp = new MP()
|
||||
- let i = 5
|
||||
- const interval = setInterval(() => {
|
||||
- if (i --> 0)
|
||||
- mp.write('foo\n')
|
||||
- else {
|
||||
- clearInterval(interval)
|
||||
- mp.end()
|
||||
- }
|
||||
- })
|
||||
- mp.setEncoding('utf8')
|
||||
- const all = await mp.collect()
|
||||
- t.same(all, ['foo\n','foo\n','foo\n','foo\n','foo\n'])
|
||||
-})
|
||||
-
|
||||
t.test('error', async t => {
|
||||
const mp = new MP()
|
||||
const poop = new Error('poop')
|
|
@ -1 +1 @@
|
|||
3.0 (quilt)
|
||||
3.0 (native)
|
||||
|
|
Loading…
Reference in New Issue