Skip to content
This repository was archived by the owner on Aug 13, 2019. It is now read-only.

Commit 8a53e2d

Browse files
Apply suggestions from code review
Co-Authored-By: Krasi Georgiev <[email protected]>
1 parent 6c5bd84 commit 8a53e2d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmd/tsdb/main_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import (
2626
testutildb "github.com/prometheus/tsdb/testutil/db"
2727
)
2828

29-
func createTestRODBWithBlock(t *testing.T) (*tsdb.DBReadOnly, func()) {
29+
func createRoDb(t *testing.T) (*tsdb.DBReadOnly, func()) {
3030
tmpdir, err := ioutil.TempDir("", "test")
3131
if err != nil {
3232
os.RemoveAll(tmpdir)
@@ -56,7 +56,7 @@ func createTestRODBWithBlock(t *testing.T) (*tsdb.DBReadOnly, func()) {
5656
}
5757
}
5858

59-
func TestCLIPrintBlocks(t *testing.T) {
59+
func TestPrintBlocks(t *testing.T) {
6060
db, closeFn := createTestRODBWithBlock(t)
6161
defer closeFn()
6262

@@ -65,7 +65,7 @@ func TestCLIPrintBlocks(t *testing.T) {
6565
tw := tabwriter.NewWriter(&b, 0, 0, 2, ' ', 0)
6666
defer tw.Flush()
6767

68-
// Set table header
68+
// Set table header.
6969
_, err := fmt.Fprintln(&b, printBlocksTableHeader)
7070
if err != nil {
7171
t.Error(err)

0 commit comments

Comments
 (0)