fix(qdreader): shorten delete hint
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
//[author: Hermes]
|
//[author: Hermes]
|
||||||
//[service: BOSS]
|
//[service: BOSS]
|
||||||
//[class: 工具类]
|
//[class: 工具类]
|
||||||
// [version: 2.15.0]
|
// [version: 2.15.1]
|
||||||
// [platform: web,qq,wx,tg,tb,fs,we]
|
// [platform: web,qq,wx,tg,tb,fs,we]
|
||||||
// [public: false]
|
// [public: false]
|
||||||
// [price: 0]
|
// [price: 0]
|
||||||
@@ -279,7 +279,7 @@ function contentText() {
|
|||||||
}
|
}
|
||||||
function usage() {
|
function usage() {
|
||||||
return [
|
return [
|
||||||
"启点读书签到插件 v2.15.0",
|
"启点读书签到插件 v2.15.1",
|
||||||
"【一级菜单】",
|
"【一级菜单】",
|
||||||
"账号管理:启点账号",
|
"账号管理:启点账号",
|
||||||
"执行查询:启点查询",
|
"执行查询:启点查询",
|
||||||
@@ -988,7 +988,7 @@ function accountMenuText(store, bind) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
lines.push("0、添加/更新账号")
|
lines.push("0、添加/更新账号")
|
||||||
lines.push("-删除账号,例如 -1")
|
lines.push("-删除账号")
|
||||||
lines.push("q、退出")
|
lines.push("q、退出")
|
||||||
return lines.join("\n")
|
return lines.join("\n")
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
//[author: Hermes]
|
//[author: Hermes]
|
||||||
//[service: BOSS]
|
//[service: BOSS]
|
||||||
//[class: 工具类]
|
//[class: 工具类]
|
||||||
// [version: 2.15.0]
|
// [version: 2.15.1]
|
||||||
// [platform: web,qq,wx,tg,tb,fs,we]
|
// [platform: web,qq,wx,tg,tb,fs,we]
|
||||||
// [public: false]
|
// [public: false]
|
||||||
// [price: 0]
|
// [price: 0]
|
||||||
@@ -279,7 +279,7 @@ function contentText() {
|
|||||||
}
|
}
|
||||||
function usage() {
|
function usage() {
|
||||||
return [
|
return [
|
||||||
"启点读书签到插件 v2.15.0",
|
"启点读书签到插件 v2.15.1",
|
||||||
"【一级菜单】",
|
"【一级菜单】",
|
||||||
"账号管理:启点账号",
|
"账号管理:启点账号",
|
||||||
"执行查询:启点查询",
|
"执行查询:启点查询",
|
||||||
@@ -988,7 +988,7 @@ function accountMenuText(store, bind) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
lines.push("0、添加/更新账号")
|
lines.push("0、添加/更新账号")
|
||||||
lines.push("-删除账号,例如 -1")
|
lines.push("-删除账号")
|
||||||
lines.push("q、退出")
|
lines.push("q、退出")
|
||||||
return lines.join("\n")
|
return lines.join("\n")
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -683,7 +683,8 @@ test('account menu first screen lists accounts and positive number opens config'
|
|||||||
assert.match(r.replies[0], /账号列表如下/);
|
assert.match(r.replies[0], /账号列表如下/);
|
||||||
assert.match(r.replies[0], /1、12\*\*\*45\[主号\]/);
|
assert.match(r.replies[0], /1、12\*\*\*45\[主号\]/);
|
||||||
assert.match(r.replies[0], /2、67\*\*\*90\[副号\]/);
|
assert.match(r.replies[0], /2、67\*\*\*90\[副号\]/);
|
||||||
assert.match(r.replies[0], /-删除账号,例如 -1/);
|
assert.match(r.replies[0], /-删除账号/);
|
||||||
|
assert.doesNotMatch(r.replies[0], /例如/);
|
||||||
assert.match(r.replies[1], /启点账号详情/);
|
assert.match(r.replies[1], /启点账号详情/);
|
||||||
assert.match(r.replies[1], /67\*\*\*90/);
|
assert.match(r.replies[1], /67\*\*\*90/);
|
||||||
assert.match(r.replies[1], /账号操作/);
|
assert.match(r.replies[1], /账号操作/);
|
||||||
|
|||||||
Reference in New Issue
Block a user