Clean up repeating code on the subject of str_output variable. Fix
indentation in some files and restructure some tests, in order to
ease parsing of files by an eye.
Signed-off-by: Kyrylo Silin <kyrylosilin@gmail.com>
Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
This is not fixed on rbx — maybe we should consider using the data we've
collected in indent.rb to look for unbalanced open/close tokens too on
rbx as it's error messages often elide the "Expected }" part of the
message.