Skip to content

Commit 20f5b98

Browse files
committed
test/4.js :: covert no longer needs the hack
1 parent 6a35972 commit 20f5b98

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

test/4.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,7 @@ var test = require('tape')
66
test('immutable', function(t) {
77
var s, a = [1, 2, 3, 4, 5];
88

9-
if (Object && 'function' === typeof(Object.observe)) {
10-
// will produce ugly error, but also doesn't
11-
// cause `covert` to detect an untested line
12-
Object.observe(a, t.fail);
13-
}
14-
159
s = streamify(a);
16-
1710
s.pipe(concat({encoding: 'object'}, function(res) {
1811
t.equal(1, arguments.length, 'concat returns 1 arg');
1912
t.deepEqual(a, res, 'result array matches input');

0 commit comments

Comments
 (0)