Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleg Sucharevich committed Aug 28, 2019
1 parent ce2d566 commit c7fbb71
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
Empty file modified hack/build-test.sh
100644 → 100755
Empty file.
10 changes: 1 addition & 9 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,14 @@ func Test_main(t *testing.T) {
pikolo := exec.Command("/tmp/pikolo-test", test.Arguments...)
out, err := pikolo.Output()
if err != nil {
assert.Fail(tt, "Should not faile")
assert.Fail(tt, "Should not fail")
}
assert.Equal(tt, test.Output, string(out))
})
}

}

func init() {
make := exec.Command("make")
make.Args = []string{"build-test"}
err := make.Run()
dieOnError(err)
fmt.Println("Binary created")
}

func dieOnError(err error) {
if err != nil {
fmt.Printf("Error: %s\n", err.Error())
Expand Down

0 comments on commit c7fbb71

Please sign in to comment.