kubo/fuse/node
Christopher Buesser 5ce2deb5fc Test Fix: Nil error handling
In TestExternalUnmount, the Mount function is called which returns an
error which can be nil. The error type is then used in a comparison
where Error() is called on it. If the error is nil, this results in a
panic.

Added a if err != nil {} guard to make sure that Error() is not called
if the value is nil
 On branch go-test-fix
 Changes to be committed:
	modified:   fuse/node/mount_test.go
License: MIT
Signed-off-by: Chris Buesser <christopher.buesser@gmail.com>
2019-05-02 19:43:46 -04:00
..
mount_darwin.go Fix imported and not used: "os" 2019-03-27 14:37:15 +11:00
mount_nofuse.go fix macos build when fuse is enabled 2019-04-18 18:11:38 -07:00
mount_test.go Test Fix: Nil error handling 2019-05-02 19:43:46 -04:00
mount_unix.go fix macos build when fuse is enabled 2019-04-18 18:11:38 -07:00
mount_windows.go Mounts detect unmounts and track mount state. 2016-02-07 19:54:59 -08:00