Skip to content

Commit

Permalink
tests: unit: gomod: Update mock data with Go 1.21
Browse files Browse the repository at this point in the history
Since we bumped the container image to Fedora 39 shipping with 1.21, we
need to update our Go mock data with 1.21.

Signed-off-by: Erik Skultety <[email protected]>
  • Loading branch information
eskultety committed Jan 18, 2024
1 parent a9022a9 commit d78a802
Show file tree
Hide file tree
Showing 6 changed files with 2,846 additions and 1,032 deletions.
63 changes: 44 additions & 19 deletions tests/unit/data/gomod-mocks/expected-results/resolve_gomod.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,12 @@
"module": null
},
{
"import_path": "internal/unsafeheader",
"import_path": "internal/abi",
"standard": true,
"module": null
},
{
"import_path": "internal/abi",
"import_path": "internal/unsafeheader",
"standard": true,
"module": null
},
Expand All @@ -174,6 +174,16 @@
"standard": true,
"module": null
},
{
"import_path": "internal/coverage/rtcov",
"standard": true,
"module": null
},
{
"import_path": "internal/godebugs",
"standard": true,
"module": null
},
{
"import_path": "internal/goexperiment",
"standard": true,
Expand Down Expand Up @@ -420,7 +430,7 @@
"module": null
},
{
"import_path": "crypto/internal/subtle",
"import_path": "crypto/internal/alias",
"standard": true,
"module": null
},
Expand Down Expand Up @@ -499,6 +509,11 @@
"replace": null
}
},
{
"import_path": "log/internal",
"standard": true,
"module": null
},
{
"import_path": "log",
"standard": true,
Expand All @@ -514,6 +529,11 @@
"standard": true,
"module": null
},
{
"import_path": "internal/bisect",
"standard": true,
"module": null
},
{
"import_path": "internal/godebug",
"standard": true,
Expand Down Expand Up @@ -669,6 +689,11 @@
"standard": true,
"module": null
},
{
"import_path": "internal/platform",
"standard": true,
"module": null
},
{
"import_path": "go/build",
"standard": true,
Expand Down Expand Up @@ -739,6 +764,11 @@
"standard": true,
"module": null
},
{
"import_path": "crypto/internal/edwards25519/field",
"standard": true,
"module": null
},
{
"import_path": "crypto/internal/nistec/fiat",
"standard": true,
Expand All @@ -754,11 +784,21 @@
"standard": true,
"module": null
},
{
"import_path": "crypto/ecdh",
"standard": true,
"module": null
},
{
"import_path": "crypto/elliptic",
"standard": true,
"module": null
},
{
"import_path": "crypto/internal/bigmod",
"standard": true,
"module": null
},
{
"import_path": "crypto/internal/boring/bbig",
"standard": true,
Expand Down Expand Up @@ -789,11 +829,6 @@
"standard": true,
"module": null
},
{
"import_path": "crypto/internal/edwards25519/field",
"standard": true,
"module": null
},
{
"import_path": "crypto/internal/edwards25519",
"standard": true,
Expand Down Expand Up @@ -855,7 +890,7 @@
"module": null
},
{
"import_path": "vendor/golang.org/x/crypto/internal/subtle",
"import_path": "vendor/golang.org/x/crypto/internal/alias",
"standard": true,
"module": null
},
Expand All @@ -879,16 +914,6 @@
"standard": true,
"module": null
},
{
"import_path": "vendor/golang.org/x/crypto/curve25519/internal/field",
"standard": true,
"module": null
},
{
"import_path": "vendor/golang.org/x/crypto/curve25519",
"standard": true,
"module": null
},
{
"import_path": "vendor/golang.org/x/crypto/hkdf",
"standard": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,12 @@
"module": null
},
{
"import_path": "internal/unsafeheader",
"import_path": "internal/abi",
"standard": true,
"module": null
},
{
"import_path": "internal/abi",
"import_path": "internal/unsafeheader",
"standard": true,
"module": null
},
Expand All @@ -185,6 +185,16 @@
"standard": true,
"module": null
},
{
"import_path": "internal/coverage/rtcov",
"standard": true,
"module": null
},
{
"import_path": "internal/godebugs",
"standard": true,
"module": null
},
{
"import_path": "internal/goexperiment",
"standard": true,
Expand Down Expand Up @@ -431,7 +441,7 @@
"module": null
},
{
"import_path": "crypto/internal/subtle",
"import_path": "crypto/internal/alias",
"standard": true,
"module": null
},
Expand Down Expand Up @@ -510,6 +520,11 @@
"replace": null
}
},
{
"import_path": "log/internal",
"standard": true,
"module": null
},
{
"import_path": "log",
"standard": true,
Expand All @@ -525,6 +540,11 @@
"standard": true,
"module": null
},
{
"import_path": "internal/bisect",
"standard": true,
"module": null
},
{
"import_path": "internal/godebug",
"standard": true,
Expand Down Expand Up @@ -680,6 +700,11 @@
"standard": true,
"module": null
},
{
"import_path": "internal/platform",
"standard": true,
"module": null
},
{
"import_path": "go/build",
"standard": true,
Expand Down Expand Up @@ -750,6 +775,11 @@
"standard": true,
"module": null
},
{
"import_path": "crypto/internal/edwards25519/field",
"standard": true,
"module": null
},
{
"import_path": "crypto/internal/nistec/fiat",
"standard": true,
Expand All @@ -765,11 +795,21 @@
"standard": true,
"module": null
},
{
"import_path": "crypto/ecdh",
"standard": true,
"module": null
},
{
"import_path": "crypto/elliptic",
"standard": true,
"module": null
},
{
"import_path": "crypto/internal/bigmod",
"standard": true,
"module": null
},
{
"import_path": "crypto/internal/boring/bbig",
"standard": true,
Expand Down Expand Up @@ -800,11 +840,6 @@
"standard": true,
"module": null
},
{
"import_path": "crypto/internal/edwards25519/field",
"standard": true,
"module": null
},
{
"import_path": "crypto/internal/edwards25519",
"standard": true,
Expand Down Expand Up @@ -866,7 +901,7 @@
"module": null
},
{
"import_path": "vendor/golang.org/x/crypto/internal/subtle",
"import_path": "vendor/golang.org/x/crypto/internal/alias",
"standard": true,
"module": null
},
Expand All @@ -890,16 +925,6 @@
"standard": true,
"module": null
},
{
"import_path": "vendor/golang.org/x/crypto/curve25519/internal/field",
"standard": true,
"module": null
},
{
"import_path": "vendor/golang.org/x/crypto/curve25519",
"standard": true,
"module": null
},
{
"import_path": "vendor/golang.org/x/crypto/hkdf",
"standard": true,
Expand Down
Loading

0 comments on commit d78a802

Please sign in to comment.