修改原因:远端 b140269 已删除 #5216/#5262 两个非法旧文件名,遗留 alias 配置会令 source 测试失败。
修改内容:移除指向已删除物理文件的 repository alias;保留临时 fixture 对 alias 解析、状态同步和安全校验的覆盖,并更新仓库清单回归断言。
实际验证:source npm test 46 项、check:path-aliases 与 git diff --check 通过。Changelog:#5216、#5262 路径兼容清理。
这个提交包含在:
@@ -69,9 +69,9 @@ function createFixture() {
|
||||
return root;
|
||||
}
|
||||
|
||||
test('repository #5216 compatibility entry resolves to its canonical document', () => {
|
||||
test('repository manifest has no dangling aliases after illegal legacy paths are removed', () => {
|
||||
const manifest = loadPathAliasManifest();
|
||||
assert.equal(resolveChangelogPath(OLD_5216, manifest), CURRENT_5216);
|
||||
assert.equal(resolveChangelogPath(OLD_5216, manifest), OLD_5216);
|
||||
assert.equal(resolveChangelogPath(CURRENT_5216, manifest), CURRENT_5216);
|
||||
assert.deepEqual(validatePathAliases().errors, []);
|
||||
});
|
||||
|
||||
在新工单中引用
屏蔽一个用户