1234567891011121314151617181920 |
- (assert (== (raw2str (raw `sup`)) "sup"))
- (def s `hi
- there 34
- symbols`)
- (assert (== s "hi\nthere 34\n symbols"))
- // long, multi-line raw strings, even in at the repl infix.
- // NB it turns out this doesn't actually test the
- // new feature. But if you entered this by hand
- // --without the {} curly braces, in the old repl--
- // then you would see the difference. Hard to set
- // without a way to shift into that same mode.
- // Avoid this:
- //
- { s2 = `
- `}
- (assert (== s2 "\n\n\n"))
|