Files
node/test/parallel
christian-bromann 74f854e769 test: add test coverage for fs.truncate
Add test to check:
- for `null` as len parameter
- if error is propagated into callback if file doesn't exist
- if an error is actually thrown if len is not a number

PR-URL: https://github.com/nodejs/node/pull/23620
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
2018-10-15 18:59:32 -04:00
..
2018-09-27 13:36:23 +02:00
2018-09-27 13:25:18 +02:00
2018-08-27 13:37:20 +02:00
2018-06-27 11:37:17 -04:00
2018-05-19 17:55:57 +02:00
2018-09-23 16:36:24 -07:00
2018-09-11 16:58:16 +08:00
2018-09-11 16:58:16 +08:00
2018-06-01 11:17:28 +02:00
2018-05-20 14:15:56 -07:00
2018-10-15 07:28:52 +02:00