Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
LICENSE typo

Co-authored-by: Kevin McDermott <[email protected]>
Signed-off-by: Rana Tarek Hassan <[email protected]>
  • Loading branch information
ranatrk and bigkevmcd committed Jul 18, 2022
1 parent b92b5fc commit e2b6b9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions github/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ var _ = Describe("GitHub Provider", func() {
tree, err := userRepo.Trees().Get(ctx, commitSha, true)
Expect(err).ToNot(HaveOccurred())

// Tree should have length 9 for : LISENCE, README.md, 3 blob (files), 4 tree (directories)
// Tree should have length 9 for : LICENSE, README.md, 3 blob (files), 4 tree (directories)
Expect(tree.Tree).To(HaveLen(9))

// itemsToBeIgnored initially with 2 for LICENSE and README.md, and will also include tree types
Expand All @@ -632,7 +632,7 @@ var _ = Describe("GitHub Provider", func() {
treeEntries, err := userRepo.Trees().List(ctx, commitSha, true)
Expect(err).ToNot(HaveOccurred())

// Tree Entries should have length 5 for : LISENCE, README.md, 3 blob (files)
// Tree Entries should have length 5 for : LICENSE, README.md, 3 blob (files)
Expect(treeEntries).To(HaveLen(5))
for ind, treeEntry := range treeEntries {
if treeEntry.Path == "LICENSE" || treeEntry.Path == "README.md" {
Expand Down

0 comments on commit e2b6b9f

Please sign in to comment.