Skip to content

Commit 67e3323

Browse files
committed
Minor
1 parent aa2fc8c commit 67e3323

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

leetcode/question.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ func (q *QuestionData) ParseExampleOutputs() []string {
328328
found := pat.FindAllStringSubmatch(content, -1)
329329
result := make([]string, 0, len(found))
330330
for _, f := range found {
331-
result = append(result, strings.TrimSuffix(strings.TrimSpace(f[1]), "</pre>"))
331+
result = append(result, strings.ReplaceAll(strings.TrimSuffix(strings.TrimSpace(f[1]), "</pre>"), ", ", ","))
332332
}
333333
return result
334334
}

0 commit comments

Comments
 (0)