port-writes-special?
⊂"running under Dr Racket"
#234
Labels
test engine
topics related to the test engine
port-writes-special?
⊂"running under Dr Racket"
#234
The assumption here seems to be that, is if the output port can write "specials", then we're running under Dr Racket:
htdp/htdp-lib/htdp/bsl/runtime.rkt
Lines 112 to 136 in aef9ae1
However that's not necessarily true. Racket Mode presents an output port that accepts
write-special
. Therefore it ends up getting thesenumber-markup
structs. It had been surprised by these, ergo greghendershott/racket-mode#732.I merged an accommodation for that, today. But generally, it seems like
port-writes-special?
isn't a sufficient test for "port that knows how to handlenumber-markup
structs, and will end up in a snip in the DrRacket GUI"? I don't know enough to propose a better test, but I wanted to ask.The text was updated successfully, but these errors were encountered: