Skip to content

Commit 65c7134

Browse files
authored
update test to expect just the full semver version in the publishedVersions object
1 parent 74e4b92 commit 65c7134

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/container-features/containerFeaturesOCIPush.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ registry`;
124124
assert.isDefined(infoTagsResult);
125125
const tags = JSON.parse(infoTagsResult.stdout);
126126
const publishedVersions: string[] = tags['publishedVersions'];
127-
assert.equal(publishedVersions.length, 4);
127+
assert.equal(publishedVersions.length, 1);
128128

129129
success = false; // Reset success flag.
130130
try {
@@ -300,7 +300,7 @@ registry`;
300300
assert.isDefined(infoTagsResult);
301301
const tags = JSON.parse(infoTagsResult.stdout);
302302
const publishedVersions: string[] = tags['publishedVersions'];
303-
assert.equal(publishedVersions.length, 4);
303+
assert.equal(publishedVersions.length, 1);
304304
});
305305
});
306306

0 commit comments

Comments
 (0)