Rollup merge of #32387 - alexcrichton:ascii-test, r=aturon
Rollup merge of #32387 - alexcrichton:ascii-test, r=aturon

std: Add regression test for #32074

Just to make sure we don't accidentally break this in the future.

graydon/rust,GBGamer/rust,aidancully/rust,aidancully/rust,graydon/rust,graydon/rust,GBGamer/rust,GBGamer/rust,graydon/rust,GBGamer/rust,GBGamer/rust,GBGamer/rust,aidancully/rust,aidancully/rust,aidancully/rust,graydon/rust,graydon/rust,aidancully/rust,GBGamer/rust,GBGamer/rust