File tree 1 file changed +2
-6
lines changed
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -349,9 +349,7 @@ var objFixtures = []struct {
349
349
// Map walks *are* biased towards their declaration order though, as far as I can tell,
350
350
// so it's less than a 1/4 chance here.
351
351
sequence : fixtures .SequenceMap ["quad map default order" ],
352
- atlas : atlas .MustBuild (
353
- atlas .BuildEntry (map [string ]string {}).MapMorphism ().SetKeySortMode (atlas .KeySortMode_Default ).Complete (),
354
- ),
352
+ atlas : atlas .MustBuild ().WithMapMorphism (& atlas.MapMorphism {atlas .KeySortMode_Default }),
355
353
marshalResults : []marshalResults {
356
354
{title : "from map" ,
357
355
valueFn : func () interface {} {
@@ -369,9 +367,7 @@ var objFixtures = []struct {
369
367
// Map walks *are* biased towards their declaration order though, as far as I can tell,
370
368
// so it's less than a 1/4 chance here.
371
369
sequence : fixtures .SequenceMap ["quad map rfc7049 order" ],
372
- atlas : atlas .MustBuild (
373
- atlas .BuildEntry (map [string ]string {}).MapMorphism ().SetKeySortMode (atlas .KeySortMode_RFC7049 ).Complete (),
374
- ),
370
+ atlas : atlas .MustBuild ().WithMapMorphism (& atlas.MapMorphism {atlas .KeySortMode_RFC7049 }),
375
371
marshalResults : []marshalResults {
376
372
{title : "from map" ,
377
373
valueFn : func () interface {} {
You can’t perform that action at this time.
0 commit comments