mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 10:58:41 +00:00
fix(remote_judger/luogu): add missing <tests> in details
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
180484383b
commit
d42c2a2c25
@ -350,6 +350,8 @@ export default class LuoguProvider implements IBasicProvider {
|
|||||||
'</remote-result-table>' +
|
'</remote-result-table>' +
|
||||||
'</remote-result-container>';
|
'</remote-result-container>';
|
||||||
|
|
||||||
|
details += '<tests>';
|
||||||
|
|
||||||
if (data.detail.judgeResult.subtasks.length === 1) {
|
if (data.detail.judgeResult.subtasks.length === 1) {
|
||||||
details += Object.entries(
|
details += Object.entries(
|
||||||
data.detail.judgeResult.subtasks[0].testCases
|
data.detail.judgeResult.subtasks[0].testCases
|
||||||
@ -376,6 +378,8 @@ export default class LuoguProvider implements IBasicProvider {
|
|||||||
.join('\n');
|
.join('\n');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
details += '</tests>';
|
||||||
|
|
||||||
return await end({
|
return await end({
|
||||||
id: `R${id}`,
|
id: `R${id}`,
|
||||||
status,
|
status,
|
||||||
|
Loading…
Reference in New Issue
Block a user