Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Commit

Permalink
more go report card updates
Browse files Browse the repository at this point in the history
  • Loading branch information
yuce committed Sep 7, 2017
1 parent 662f989 commit 980b3e8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions client_it_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -681,9 +681,9 @@ func TestCSVExport(t *testing.T) {
t.Fatal(err)
}
targetBits := []Bit{
Bit{RowID: 1, ColumnID: 1},
Bit{RowID: 1, ColumnID: 10},
Bit{RowID: 2, ColumnID: 1048577},
{RowID: 1, ColumnID: 1},
{RowID: 1, ColumnID: 10},
{RowID: 2, ColumnID: 1048577},
}
bits := []Bit{}
iterator, err := client.ExportFrame(frame, "standard")
Expand Down Expand Up @@ -992,14 +992,14 @@ func TestStatusToNodeSlicesForIndex(t *testing.T) {

status := &Status{
Nodes: []StatusNode{
StatusNode{
{
Host: ":10101",
Indexes: []StatusIndex{
StatusIndex{
{
Name: "index1",
Slices: []uint64{0},
},
StatusIndex{
{
Name: "index2",
Slices: []uint64{0},
},
Expand Down
2 changes: 1 addition & 1 deletion error.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,5 @@ var (
ErrorInvalidFrameName = NewError("Invalid frame name")
ErrorInvalidLabel = NewError("Invalid label")
ErrorInverseBitmapsNotEnabled = NewError("Inverse bitmaps support was not enabled for this frame")
ErrorTriedMaxHosts = NewError("Tried max hosts, still failing")
ErrorTriedMaxHosts = NewError("Tried max hosts, still failing")
)
6 changes: 3 additions & 3 deletions imports_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ func TestCSVBitIterator(t *testing.T) {
t.Fatalf("There should be 3 bits")
}
target := []pilosa.Bit{
pilosa.Bit{RowID: 1, ColumnID: 10, Timestamp: 683793200},
pilosa.Bit{RowID: 5, ColumnID: 20, Timestamp: 683793300},
pilosa.Bit{RowID: 3, ColumnID: 41, Timestamp: 683793385},
{RowID: 1, ColumnID: 10, Timestamp: 683793200},
{RowID: 5, ColumnID: 20, Timestamp: 683793300},
{RowID: 3, ColumnID: 41, Timestamp: 683793385},
}
if !reflect.DeepEqual(target, bits) {
t.Fatalf("%v != %v", target, bits)
Expand Down

0 comments on commit 980b3e8

Please sign in to comment.