Skip to content

Commit

Permalink
reformatted types_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
archishou committed May 31, 2019
1 parent 6a97f3e commit 024b2c4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/pillar/types/types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,12 @@ func TestParseTriState(t *testing.T) {
log.Infof("TestLookupIoBundle: START\n")
testMatrix := []TestTypesMatrixEntry{
{err: nil, ts: TS_NONE, value: "none"},

{err: nil, ts: TS_ENABLED, value: "enable"},
{err: nil, ts: TS_ENABLED, value: "enabled"},
{err: nil, ts: TS_ENABLED, value: "on"},

{err: nil, ts: TS_DISABLED, value: "disabled"},
{err: nil, ts: TS_DISABLED, value: "disable"},
{err: nil, ts: TS_DISABLED, value: "off"},

{err: errors.New(fmt.Sprintf("Bad value: bad-value")), ts: TS_NONE, value: "bad-value"},
}

Expand Down

0 comments on commit 024b2c4

Please sign in to comment.