Remove extra `module.exports.assert`

`module.exports.assert` is already assigned at line 352. Remove the extra line of setting it again.
Merge pull request #454 from GCheung55/patch-1

Remove extra `module.exports.assert`