Skip to content

Commit

Permalink
solve test
Browse files Browse the repository at this point in the history
  • Loading branch information
allan committed Jun 25, 2024
1 parent 51490e6 commit 592a210
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
3 changes: 1 addition & 2 deletions compress/api_restreamer.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package compress
import (
"encoding/json"
"fmt"

"gopkg.in/validator.v2"
)

Expand Down Expand Up @@ -41,7 +41,6 @@ func (o *compress) GetRestreamers(startFrom int, amount int) ([]Restreamer, erro
return obj, nil
}


/**
*
* @param {number} start_from
Expand Down
1 change: 0 additions & 1 deletion test/api_customer_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package test


import (
"testing"
)
Expand Down
7 changes: 2 additions & 5 deletions test/api_restreamer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
)

/*
*/
*/
func TestGetRestreamers(t *testing.T) {
//
c, err := GetCompress()
Expand All @@ -27,10 +27,8 @@ func TestGetRestreamers(t *testing.T) {
//
}



/*
*/
*/
func TestGetRestreamersOttAll(t *testing.T) {
//
c, err := GetCompress()
Expand All @@ -45,4 +43,3 @@ func TestGetRestreamersOttAll(t *testing.T) {
//log.Println("restreamers ott ", restreamers)
//
}

0 comments on commit 592a210

Please sign in to comment.