kubo/fuse
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
..
ipns Test Fix: nil pointer error for core.NewNode 2019-05-02 19:30:36 -04:00
mount chore: fix a bunch of issues caught by golangci-lint 2019-03-29 11:57:45 +00:00
node Test Fix: Nil error handling 2019-05-02 19:43:46 -04:00
readonly Fix goprocess / lifecycle / ctx relations 2019-04-17 16:56:27 -07:00