Browse Source

Fix a typo in parsing testData.

master
t123yh 7 years ago
parent
commit
d41af815de
  1. 2
      src/daemon/testData.ts

2
src/daemon/testData.ts

@ -66,7 +66,7 @@ async function parseYamlContent(obj: UserConfigFile, dataName: string): Promise<
cases: s.cases.map(c => ({ cases: s.cases.map(c => ({
input: obj.inputFile ? filterPath(obj.inputFile.replace('#', c.toString())) : null, input: obj.inputFile ? filterPath(obj.inputFile.replace('#', c.toString())) : null,
output: obj.outputFile ? filterPath(obj.outputFile.replace('#', c.toString())) : null, output: obj.outputFile ? filterPath(obj.outputFile.replace('#', c.toString())) : null,
userAnswer: obj.userOutput ? filterPath(obj.userOutput.replace('#', c.toString())) : null, userOutputFile: obj.userOutput ? filterPath(obj.userOutput.replace('#', c.toString())) : null,
name: c.toString() name: c.toString()
})) }))
})), })),

Loading…
Cancel
Save