Skip to content

Commit

Permalink
added main test go
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan-Nava authored Jun 26, 2024
1 parent 1861d90 commit dc37f4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/a_main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package test
import (
"os"
"testing"

"log"
"github.com/HiWay-Media/compress-go/compress"
)

Expand All @@ -21,6 +21,7 @@ func TestMain(m *testing.M) {
func TestNewCompress(t *testing.T) {
c, err := GetCompress()
if err != nil {
log.Println("error getComrpess", err.Error())
t.Fatalf(err.Error())
}
c.IsDebug()
Expand Down

0 comments on commit dc37f4b

Please sign in to comment.