You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 15, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 15, 2026. It is now read-only.
Yeah, looks the same to me. Any chance there's a tab character involved? You could also try weird things like slicing the string to see if it matches up to a certain point, or try temporarily hacking your test to base64 encode it or something to verify the actual bytes.
Another caveat: I checked your command and the output seems to vary according to window size even though it's not actually being printed to the screen (i.e., if the vim window is really narrow, there are more line wraps). It's unlikely in practice and probably best to just accept it will fail if your window is too narrow, but thought I'd mention it.
Activity
dbarnett commentedon Mar 12, 2015
Could you define a test helper function in the plugin that uses
:redirinstead of trying to use it directly from vroom?paulhybryant commentedon Mar 12, 2015
Sure. That would work too.
dbarnett commentedon Mar 12, 2015
We may still try to support
:redirin some capacity, but FWIW it seems a little awkward in a vroom file anyway.paulhybryant commentedon Mar 12, 2015
Sure. One question though. With a helper function, I get the following error
Unexpected message:
FoldCol2 xxx match /%16c...../ conceal
Expected message not received:
"FoldCol2 xxx match /%16c...../ conceal" (verbatim mode)
The two message seems the same to me
Revised test below
Vroom test for foldcol
dbarnett commentedon Mar 12, 2015
Yeah, looks the same to me. Any chance there's a tab character involved? You could also try weird things like slicing the string to see if it matches up to a certain point, or try temporarily hacking your test to base64 encode it or something to verify the actual bytes.
paulhybryant commentedon Mar 13, 2015
Thanks. Turns out there is a trailing space.
dbarnett commentedon Mar 13, 2015
Another caveat: I checked your command and the output seems to vary according to window size even though it's not actually being printed to the screen (i.e., if the vim window is really narrow, there are more line wraps). It's unlikely in practice and probably best to just accept it will fail if your window is too narrow, but thought I'd mention it.
paulhybryant commentedon Mar 13, 2015
Sounds good. Thanks for bringing that up!