Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Maciej Więcek committed Nov 23, 2023
1 parent d7bfe24 commit b2df003
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions table/column_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ func TestColumnTitle(t *testing.T) {
assert.Equal(t, test.expected, col.Title())
})
}

}

func TestColumnKey(t *testing.T) {
Expand All @@ -53,7 +52,6 @@ func TestColumnKey(t *testing.T) {
assert.Equal(t, test.expected, col.Key())
})
}

}

func TestColumnWidth(t *testing.T) {
Expand All @@ -77,7 +75,6 @@ func TestColumnWidth(t *testing.T) {
assert.Equal(t, test.expected, col.Width())
})
}

}

func TestColumnFlexFactor(t *testing.T) {
Expand All @@ -101,7 +98,6 @@ func TestColumnFlexFactor(t *testing.T) {
assert.Equal(t, test.expected, col.FlexFactor())
})
}

}

func TestColumnIsFlex(t *testing.T) {
Expand Down Expand Up @@ -142,11 +138,10 @@ func TestColumnIsFlex(t *testing.T) {

for _, test := range testsRegularColumn {
t.Run(fmt.Sprintf("width %d gives %t", test.width, test.expected), func(t *testing.T) {
col := NewColumn("key", "title", 10)
col := NewColumn("key", "title", test.width)
assert.Equal(t, test.expected, col.IsFlex())
})
}

}

func TestColumnFilterable(t *testing.T) {
Expand Down

0 comments on commit b2df003

Please sign in to comment.