Skip to content

Commit 09c12d8

Browse files
committed
rename tests
1 parent 65341e1 commit 09c12d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ func TestHandleAutoApprovers(t *testing.T) {
518518
}
519519
}
520520

521-
func TestEmptyHosts(t *testing.T) {
521+
func TestEmptyParentObject(t *testing.T) {
522522
parent, err := jwcc.Parse(strings.NewReader(`{"hosts":{}}`))
523523
if err != nil {
524524
t.Fatalf("expected no error, got [%v]", err)
@@ -553,7 +553,7 @@ func TestEmptyHosts(t *testing.T) {
553553
}
554554
}
555555

556-
func TestEmptyAcls(t *testing.T) {
556+
func TestEmptyParentArray(t *testing.T) {
557557
parent, err := jwcc.Parse(strings.NewReader(`{"acls":[]}`))
558558
if err != nil {
559559
t.Fatalf("expected no error, got [%v]", err)

0 commit comments

Comments
 (0)