Recently, I have been trying to debug a failure case with a custom message. I noticed that it cannot print out all the messages if the string value is more than around 1000 (or 1024) characters.
I tested assert! without cucumber, and it was able to print out more than 1000 (or 1024) characters. I am curious about whether there are some limitations or additional configurations that could be affecting the printing of longer strings.
let msg = "abcdefghij";
assert!(false, "{}", msg.repeat(110));
Recently, I have been trying to debug a failure case with a custom message. I noticed that it cannot print out all the messages if the string value is more than around 1000 (or 1024) characters.
I tested
assert!
without cucumber, and it was able to print out more than 1000 (or 1024) characters. I am curious about whether there are some limitations or additional configurations that could be affecting the printing of longer strings.