Small readme formattings

This commit is contained in:
Cameron Sparr
2016-02-13 11:50:43 -07:00
parent 85594cc92e
commit ccb6b3c64b
3 changed files with 50 additions and 88 deletions

View File

@@ -2,6 +2,7 @@ package prometheus_client
import (
"testing"
"time"
"github.com/stretchr/testify/require"
@@ -18,6 +19,7 @@ func TestPrometheusWritePointEmptyTag(t *testing.T) {
}
pTesting = &PrometheusClient{Listen: "localhost:9127"}
err := pTesting.Start()
time.Sleep(time.Millisecond * 200)
require.NoError(t, err)
defer pTesting.Stop()