[Toybox] [PATCH 4/4] sh: add a test for x=${x//y}
Rob Landley
rob at landley.net
Sat Nov 5 05:09:54 PDT 2022
On 11/5/22 02:10, Alexander Holler wrote:
> ---
> tests/sh.test | 1 +
...
> +testing 'x=${x//y}' 'x=potato; x=${x//ta}; echo $x' 'poto\n' '' ''
> testing '${x^y}' 'x=aaaaa; echo ${x^a}' 'Aaaaa\n' '' ''
I'm impressed that when I saved this message to a file "git am" knew how to
apply it, considering it's base64 content-transfer-encoded under the covers.
(Another todo item for Moritz Weber's pending git implementation...)
Thanks. Good patches, applied. I added you to the moderation whitelist.
FYI I prefer the test and the change that fixes it to be in the same commit
because I find it easier to track that way: git log can show you previous commit
from an arbitrary starting point, but isn't great about "next".
Rob
More information about the Toybox
mailing list