ruby / irb

interactive Ruby
BSD 2-Clause "Simplified" License
393 stars 119 forks source link

Fix indent test and output sequence test for new reline #908

Closed tompng closed 8 months ago

tompng commented 8 months ago

CI is failing after https://github.com/ruby/reline/pull/614 is merged.

Indent is changed/fixed

For example, pasting "a\n .b\n .c":

Reline 0.4.2
> a
>   .b
> .c█

Reline 0.5.0.pre.1
> a
>   .b
>   .c█

This pull request changes the test to pass with both version by using "a\n .b\n .c\n.d".