Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Commit d1c74a8

Browse files
committed
Add sorting TODO; revert vendor change
1 parent 9d759ef commit d1c74a8

File tree

3 files changed

+15
-16
lines changed

3 files changed

+15
-16
lines changed

lock.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,5 +119,6 @@ func (l *lock) MarshalJSON() ([]byte, error) {
119119
raw.P[k] = ld
120120
}
121121

122+
// TODO sort output - #15
122123
return json.Marshal(raw)
123124
}

manifest_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ func TestWriteManifest(t *testing.T) {
131131
b = bytes.Replace(b, []byte("\\u003c"), []byte("<"), -1)
132132
b = bytes.Replace(b, []byte("\\u003e"), []byte(">"), -1)
133133

134-
//s := out.String()
135134
s := string(b)
136135
if s != jg {
137136
t.Errorf("Valid manifest did not marshal to JSON as expected:\n\t(GOT): %s\n\t(WNT): %s", s, jg)

vendor/github.com/sdboyer/gps/types.go

Lines changed: 14 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)