Skip to content

Commit

Permalink
Remove the drand_version test
Browse files Browse the repository at this point in the history
  • Loading branch information
mcamou committed Mar 30, 2022
1 parent a16a654 commit 8f5c689
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions metrics/metrics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import (
"net/http"
"testing"
"time"

"github.com/drand/drand/common"
)

func TestMetricReshare(t *testing.T) {
Expand Down Expand Up @@ -53,19 +51,6 @@ func TestMetricReshare(t *testing.T) {
_ = resp.Body.Close()
}

func TestAppVersionFormat(t *testing.T) {
version := common.Version{
Major: 1,
Minor: 2,
Patch: 3,
}
expected := uint32(1002003)
actual := getVersionNum(version)
if actual != expected {
t.Fatalf("Error converting version to number. Expected %v, actual %v", expected, actual)
}
}

func TestBuildTimestamp(t *testing.T) {
buildTimestamp := "29/04/2021@20:23:35"

Expand Down

0 comments on commit 8f5c689

Please sign in to comment.