Skip to content

Commit

Permalink
🔄 Sync from monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
mojo-machine[bot] committed Aug 27, 2024
1 parent 1cd634c commit e5551fb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

- uses: actions/[email protected]
with:
go-version: '^1.22.0'
go-version: '^1.23.0'

- run: go build -v ./...

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/wearemojo/mojo-public-go

go 1.22.0
go 1.23.0

require (
cloud.google.com/go v0.115.1
Expand Down
4 changes: 3 additions & 1 deletion lib/sanityref/sanityref_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,9 @@ func TestResolveReferencesMissingImages(t *testing.T) {
},
})

is.Equal(missingDocumentIDs.ToSlice(), []string{"image-id2", "image-id4"})
missingDocumentIDsSlice := missingDocumentIDs.ToSlice()
slices.Sort(missingDocumentIDsSlice)
is.Equal(missingDocumentIDsSlice, []string{"image-id2", "image-id4"})

// ensures no infinite recursion
_, err = json.Marshal(documentMap)
Expand Down

0 comments on commit e5551fb

Please sign in to comment.