mirror of
https://github.com/motajs/template.git
synced 2026-11-09 11:44:30 +08:00
chore(07-04): #06-05-3 annotate the retained 147 skip and close windows 25/26
- D-06: equipment.test.ts code-147 case stays it.skip with a Chinese note that 147 is a reserved code, currently unreachable by design; no production code touched - WINDOWS.md ids 25/26 marked fixed (open_count 13 -> 11); no new ledger entries
This commit is contained in:
1 parent
2452711edb
commit
2d2855c394
2 files changed
+10
-10
No files matched your search
@@ -302,7 +302,7 @@ describe('HeroEquipment equip and unequip', () => {
|
||||
expect(env.equipment.getEquipped(1)).toBe(axe);
|
||||
});
|
||||
|
||||
// 疑似 bug:码 147 因 canEquipTo 先返回 CannotEquip 而不可达,详见 06-TEST-FINDINGS.md #06-05-3
|
||||
// 静态见证:147 为保留错误码,当前不可达,设计如此,生产代码不修改(#06-05-3)
|
||||
it.skip('warns code 147 when no equipment slot is available', () => {
|
||||
const env = createEnv();
|
||||
registerItem(env, createItem(10, 'sword', ['weapon'], [['atk', 5]]));
|
||||
|
||||
Reference in new issue
Block a user