rcl/golden/error/print_long_prefix.test
Ruud van Asseldonk 878eaa4aa4 Use comma as the separator in record notation
I am still ambivalent about this. On the one hand I have a strong sense
that "key = value;" is a statement that needs a terminator. On the other
hand, it makes things more uniform to have only a single separator.

I think I just need to get used to the comma, and then I will not mind
so much. But let's see.
2023-10-21 10:43:44 +02:00

10 lines
454 B
Text

// This tests that error printing truncates the line if the line is really long.
let turbo_encabulator = { baseplate = "prefabulated aluminite", casing = "surmounted, malleable logarithmic", spurving_bearings = "aligned with the pentametric fan", err_unknown_variable = this-causes-an-error };
true
# output:
stdin:2:190
2 │ …_unknown_variable = this-causes-an-error };
╵ ^~~~~~~~~~~~~~~~~~~~
Error: Unknown variable.