♻️ 书源 id 去掉 ext. 前缀,沿用旧内置源数据

Co-authored-by: Copilot <[email protected]>
This commit is contained in:
GarfieldandCopilot committed 2026-11-16 14:07:45 +08:00
1 parent ff11bb481a
commit 35383a2451
11 files changed
+18 -18

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ package.loaded["moonsource_ireader.client"] = {
local source = require("moonsource_ireader.source").new()
local result, reason, calls = nil, nil, 0
local function done(value, err) result, reason, calls = value, err, calls + 1 end
local identity = { source_id = "ext.ireader", stable_id = "test", chapter_idx = 2 }
local identity = { source_id = "ireader", stable_id = "test", chapter_idx = 2 }
source:loadTocAsync(identity, done)
require("support.stubs").flush()
Assert.eq(result, toc, "离线不强制刷新旧目录")