Skip to content

Commit

Permalink
tests: update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lostdusty committed Sep 15, 2024
1 parent 4a3455f commit bcf5e8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gobalt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func TestCobaltDownload(t *testing.T) {
if err != nil {
t.Fatalf("%v", err)
}
t.Log(runDlTest.Picker)
t.Log(runDlTest.URL)
}

func TestCustomInstancesList(t *testing.T) {
Expand All @@ -29,7 +29,7 @@ func TestCustomInstancesList(t *testing.T) {
t.Logf("Found %v instances!\n", len(instanceTest))
randomInstanceToTest := rand.IntN(len(instanceTest))
t.Logf("Will test instance #%v", randomInstanceToTest)
testHealthRandomInstance, err := CobaltServerInfo(instanceTest[randomInstanceToTest].Protocol + "://" + instanceTest[randomInstanceToTest].API)
testHealthRandomInstance, err := CobaltServerInfo(instanceTest[randomInstanceToTest].API)
if err != nil {
t.Logf("unable to test api selected due of %v", err)
}
Expand All @@ -56,6 +56,6 @@ func TestMediaParsing(t *testing.T) {
if err != nil {
t.Fatalf("failed processing media because %v", err)
}
t.Logf("name %v | size %v bytes | mime %v", n.Name, n.Size, n.Type)
t.Logf("name %v | size %v bytes | mime %v", d.Filename, n.Size, n.Type)

}

0 comments on commit bcf5e8c

Please sign in to comment.