File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11require ( '../common' ) ;
2- var util = require ( 'util ' ) ;
2+ var inherits = require ( 'inherits ' ) ;
33var stream = require ( '../../' ) ;
44var WritableStream = stream . Writable ;
55module . exports = function ( t ) {
66 t . test ( 'should bea ble to write sync' , function ( t ) {
77 var InternalStream = function ( ) {
88 WritableStream . call ( this ) ;
99 } ;
10- util . inherits ( InternalStream , WritableStream ) ;
10+ inherits ( InternalStream , WritableStream ) ;
1111
1212 InternalStream . prototype . _write = function ( chunk , encoding , callback ) {
1313 callback ( ) ;
@@ -21,7 +21,7 @@ module.exports = function(t) {
2121 this . _writable = writable ;
2222 WritableStream . call ( this ) ;
2323 } ;
24- util . inherits ( ExternalStream , WritableStream ) ;
24+ inherits ( ExternalStream , WritableStream ) ;
2525
2626 ExternalStream . prototype . _write = function ( chunk , encoding , callback ) {
2727 this . _writable . write ( chunk , encoding , callback ) ;
You can’t perform that action at this time.
0 commit comments