arya dradjica
arya dradjica
Thanks @Serene-Arc!
Fish's `complete` builtin offers a `-C` flag which lets you test what completions would be offered for a certain command-line; this could be used to perform automated testing. I suppose...
cc @Serene-Arc, this follows on from the small changes I made to `fish.py` in #5337. The more I looked at the code, the more I wanted to rewrite it.
I agree, a comprehensive testing solution is important. I was also concerned about the security of these sorts of shell scripts, but I hadn't thought about just comparing the results...
@Serene-Arc, I've implemented a basic file test, so there is some guarantee that the generated script will not contain malware. I can cover some more cases (e.g. using sample items...
@snejus, I know you were working on the testing infrastructure in #5362. I've ended up getting started on the `pytest` migration by defining some shared fixtures here, based on the...
no worries @snejus!
@snejus bump on review?
It looks like the Windows builds are broken because of the `reflink` issue. @snejus, feel free to review anyway.
I'll implement it now, @snejus!