Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
maxence-charriere committed Jun 28, 2020
1 parent ff0e31f commit d1ab31c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ test:
release: test
ifdef VERSION
@echo "\033[94m\n• Releasing ${VERSION}\033[00m"
@git checkout v6
@git checkout v7
@git tag ${VERSION}
@git push origin ${VERSION}

Expand Down
6 changes: 5 additions & 1 deletion pkg/app/testing.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,11 @@ func TestPath(p ...int) []int {
// })
// // OK => err == nil
func TestMatch(tree UI, d TestUIDescriptor) error {
tree.setSelf(tree)
if !tree.Mounted() {
if err := mount(tree); err != nil {
return err
}
}

if d.Expected != nil {
d.Expected.setSelf(d.Expected)
Expand Down

0 comments on commit d1ab31c

Please sign in to comment.