mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 03:48: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-container>';
|
||||
|
||||
details += '<tests>';
|
||||
|
||||
if (data.detail.judgeResult.subtasks.length === 1) {
|
||||
details += Object.entries(
|
||||
data.detail.judgeResult.subtasks[0].testCases
|
||||
@ -376,6 +378,8 @@ export default class LuoguProvider implements IBasicProvider {
|
||||
.join('\n');
|
||||
}
|
||||
|
||||
details += '</tests>';
|
||||
|
||||
return await end({
|
||||
id: `R${id}`,
|
||||
status,
|
||||
|
Loading…
Reference in New Issue
Block a user