diff --git a/test/changelog-section.test.js b/test/changelog-section.test.js index e28da16..3d67ca4 100644 --- a/test/changelog-section.test.js +++ b/test/changelog-section.test.js @@ -35,11 +35,11 @@ test('extracts the complete real 1.4.0 changelog section', () => { }); test('missing version fails with a reason and no stdout', () => { - const result = extract('1.5.0'); + const result = extract('0.0.0'); assert.equal(result.status, 1); assert.equal(result.stdout, ''); - assert.match(result.stderr, /no section for '1\.5\.0'/); + assert.match(result.stderr, /no section for '0\.0\.0'/); }); test('heading without a list entry is rejected as empty', () => {