1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-08-25 20:08:13 +02:00

internal/config/builder_test.go: fix syntax error

This commit is contained in:
Henrik Hautakoski 2024-07-19 13:48:59 +02:00
parent 1b1e6a1e33
commit dccd7c0520

View file

@ -5,6 +5,7 @@ import (
"testing" "testing"
"time" "time"
shipclient "github.com/eosswedenorg-go/antelope-ship-client"
"github.com/eosswedenorg/thalos/internal/log" "github.com/eosswedenorg/thalos/internal/log"
"github.com/eosswedenorg/thalos/internal/types" "github.com/eosswedenorg/thalos/internal/types"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
@ -95,7 +96,6 @@ func TestBuilder_WithDefaultConfig(t *testing.T) {
MaxTime: time.Hour * 24, MaxTime: time.Hour * 24,
FileTimestampFormat: "2006-01-02_150405", FileTimestampFormat: "2006-01-02_150405",
}, },
},
Ship: ShipConfig{ Ship: ShipConfig{
Url: "ws://127.0.0.1:8080", Url: "ws://127.0.0.1:8080",
StartBlockNum: shipclient.NULL_BLOCK_NUMBER, StartBlockNum: shipclient.NULL_BLOCK_NUMBER,