forked from rosa/hakurei
internal/rosa: create metadata alongside artifact
This enables deferring evaluation of azalea-based packages and fixes the longstanding quirk of version being disjoint from other metadata. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -78,9 +78,8 @@ func TestCureAll(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
for _, p := range rosa.Native().Collect() {
|
||||
a, _ := rosa.Native().Std().MustLoad(p)
|
||||
meta := rosa.Native().MustGet(p)
|
||||
t.Run(meta.Name, func(t *testing.T) {
|
||||
_, a := rosa.Native().Std().MustLoad(p)
|
||||
t.Run(p.String(), func(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
if pathname, _, err := cache.Cure(a); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user