simonw/datasette-ripgrep

Unit tests that exercise ripgrep

Closed this issue · 2 comments

The tests can skip if the rg executable is not available.

Still not installing:

2020-11-28T04:21:00.6951648Z error: This revision of snap "ripgrep" was published using classic confinement
2020-11-28T04:21:00.6953343Z        and thus may perform arbitrary system changes outside of the security
2020-11-28T04:21:00.6954491Z        sandbox that snaps are usually confined to, which may put your system at
2020-11-28T04:21:00.6955269Z        risk.
2020-11-28T04:21:00.6955893Z 
2020-11-28T04:21:00.6956664Z        If you understand and want to proceed repeat the command including
2020-11-28T04:21:00.6958028Z        --classic.

I'm worried that the tests may be flaky because the order that the results are returned by ripgrep is undefined.