Cleaned some go vet warnings
This commit is contained in:
parent
f585e5119f
commit
fcfa672652
@ -64,7 +64,6 @@ func (parser *ParsingOperation) parseFaceSection () (
|
||||
|
||||
if err != nil { return }
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// parseFaceBehavior parses a single interface behavior. Indentation level is
|
||||
@ -127,6 +126,4 @@ func (parser *ParsingOperation) parseFaceBehavior () (
|
||||
declaration)
|
||||
}
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ import "testing"
|
||||
// import "git.tebibyte.media/arf/arf/types"
|
||||
|
||||
func checkTree (modulePath string, correct string, test *testing.T) {
|
||||
tree, err := Parse(modulePath)
|
||||
tree, err := Parse(modulePath)
|
||||
if tree == nil {
|
||||
test.Log("TREE IS NIL!")
|
||||
test.Fail()
|
||||
|
Reference in New Issue
Block a user