Added more tests
This commit is contained in:
parent
52d1de042c
commit
a811da3477
9 changed files with 77 additions and 2 deletions
|
@ -54,5 +54,9 @@ func EachInstruction(body token.List, call func(token.List) error) error {
|
|||
}
|
||||
}
|
||||
|
||||
if start != len(body) {
|
||||
return call(body[start:])
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue