This line limits stdout to 1000 characters:
|
stdout = "\nStdout: " + utils.TruncateString(strings.ReplaceAll(r.StdOutput, "\n", "↩ "), 1000) |
It would be convenient to have the ability to change it via a CLI switch for local debugging purposes (e.g. for large testcases with a lot of debug prints). This could just be a boolean switch to disable truncating stdout.
This line limits stdout to 1000 characters:
leetgo/leetcode/models.go
Line 84 in 18ee171
It would be convenient to have the ability to change it via a CLI switch for local debugging purposes (e.g. for large testcases with a lot of debug prints). This could just be a boolean switch to disable truncating stdout.