Skip to content

Commit c7fbb71

Browse files
author
Oleg Sucharevich
committed
fix typo
1 parent ce2d566 commit c7fbb71

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

hack/build-test.sh

100644100755
File mode changed.

main_test.go

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,22 +36,14 @@ func Test_main(t *testing.T) {
3636
pikolo := exec.Command("/tmp/pikolo-test", test.Arguments...)
3737
out, err := pikolo.Output()
3838
if err != nil {
39-
assert.Fail(tt, "Should not faile")
39+
assert.Fail(tt, "Should not fail")
4040
}
4141
assert.Equal(tt, test.Output, string(out))
4242
})
4343
}
4444

4545
}
4646

47-
func init() {
48-
make := exec.Command("make")
49-
make.Args = []string{"build-test"}
50-
err := make.Run()
51-
dieOnError(err)
52-
fmt.Println("Binary created")
53-
}
54-
5547
func dieOnError(err error) {
5648
if err != nil {
5749
fmt.Printf("Error: %s\n", err.Error())

0 commit comments

Comments
 (0)