File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44coverage.txt
55.vscode
66.idea
7+ * .test
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import (
2121 "github.com/stretchr/testify/assert"
2222)
2323
24- func TestuserHasPushPermissionReturnsTrueForAllCases (t * testing.T ) {
24+ func TestUserHasPushPermissionReturnsTrueForAllCases (t * testing.T ) {
2525 testCases := []string {
2626 `{"viewerPermission":"WRITE"}` ,
2727 `{"viewerPermission":"MAINTAIN"}` ,
@@ -35,7 +35,7 @@ func TestuserHasPushPermissionReturnsTrueForAllCases(t *testing.T) {
3535 }
3636}
3737
38- func TestuserHasPushPermissionReturnsFalseForUnknownPermission (t * testing.T ) {
38+ func TestUserHasPushPermissionReturnsFalseForUnknownPermission (t * testing.T ) {
3939 testCases := []string {
4040 `{"viewerPermission":"UNKNOWN"}` ,
4141 `{"viewerPermission":"READ"}` ,
@@ -51,7 +51,7 @@ func TestuserHasPushPermissionReturnsFalseForUnknownPermission(t *testing.T) {
5151 }
5252}
5353
54- func TestuserHasPushPermissionReturnsErrorForInvalidJSON (t * testing.T ) {
54+ func TestUserHasPushPermissionReturnsErrorForInvalidJSON (t * testing.T ) {
5555 testCases := []string {
5656 `{"viewerPermission":"WRITE"` , // invalid JSON
5757 `viewerPermission: WRITE` , // invalid JSON
You can’t perform that action at this time.
0 commit comments