Skip to content

Commit

Permalink
Correct shouldTakeLowest test case
Browse files Browse the repository at this point in the history
  • Loading branch information
evanpurkhiser committed Jul 12, 2019
1 parent a454d6f commit 95bff1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions installer/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func TestFlattenPermissions(t *testing.T) {
os.ModePerm&0644 | os.ModeDir,
},
expectedMode: os.ModePerm & 0644,
shouldTakeLowest: true,
shouldTakeLowest: false,
},
}

Expand All @@ -68,7 +68,7 @@ func TestFlattenPermissions(t *testing.T) {
}

if tookLowest != testCase.shouldTakeLowest {
t.Errorf("Expected tookLowest = %t", testCase.shouldTakeLowest)
t.Errorf("Expected tookLowest = %t, %s", testCase.shouldTakeLowest, testCase.caseName)
}
}
}

0 comments on commit 95bff1c

Please sign in to comment.