Closed arthurschreiber closed 5 years ago
I just ran into this. If #inspect on a candidate or control value returns a frozen string, the format_observation method blows up. 💥
#inspect
format_observation
In general, it's just good form not to modify values in-place that we didn't create ourselves. 🤷♂️
I just now noticed this fixes the same issue as #96 and #94.
Coverage remained the same at 99.083% when pulling a1a75ea14322d87702af7740fccfc8d77d47fb98 on arthur/do-not-use-prepend into ab16d6c957c9128c6ab76c5b0fe1fc599db1024f on master.
This is fixed as of #96. I can cut a new release if y'all would like.
Fixed and released.
I just ran into this. If
#inspect
on a candidate or control value returns a frozen string, theformat_observation
method blows up. 💥In general, it's just good form not to modify values in-place that we didn't create ourselves. 🤷♂️