We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 14c10b1 + aab2d50 commit 00558aaCopy full SHA for 00558aa
cmd/nerdctl/image/image_history_test.go
@@ -95,7 +95,7 @@ func TestImageHistory(t *testing.T) {
95
assert.Equal(t, len(history), 2, info)
96
assert.Equal(t, history[0].Size, "0B", info)
97
// FIXME: how is this going to age?
98
- assert.Equal(t, history[0].CreatedSince, "3 years ago", info)
+ assert.Equal(t, history[0].CreatedSince, "4 years ago", info)
99
assert.Equal(t, history[0].Snapshot, "<missing>", info)
100
assert.Equal(t, history[0].Comment, "", info)
101
@@ -109,7 +109,7 @@ func TestImageHistory(t *testing.T) {
109
assert.Equal(t, history[1].CreatedBy, "/bin/sh -c #(nop) ADD file:3b16ffee2b26d8af5…", info)
110
111
assert.Equal(t, history[1].Size, "5.947MB", info)
112
- assert.Equal(t, history[1].CreatedSince, "3 years ago", info)
+ assert.Equal(t, history[1].CreatedSince, "4 years ago", info)
113
assert.Equal(t, history[1].Snapshot, "sha256:56bf55b8eed1f0b4794a30386e4d1d3da949c…", info)
114
assert.Equal(t, history[1].Comment, "", info)
115
}),
0 commit comments