I've stumbled upon a usage as err == nil != c.Ok
.
I couldn't make out what it exactly checks for and find documentation as to it on the internet.
It was used in the following snippet as such:
if err := validateMountPath(c.Path); err == nil != c.Ok {
t.Errorf("path: %v, expected: %v, got: %v", c.Path, c.Ok, err == nil)
}
Could you explain the usage of a == b == c
in Go?