change show test utility function

Due to how various tests show the status of variables I decided to
modify the `show` test utility function I recently added.
This commit is contained in:
Kurtis Rader
2017-07-19 22:20:28 -07:00
parent 8f548962b7
commit dc33c1afe1
5 changed files with 18 additions and 25 deletions

View File

@@ -193,4 +193,4 @@ if test (string length "$x") -ne $FISH_READ_BYTE_LIMIT
end
echo '# Confirm reading non-interactively works (#4206 regression)'
echo abc\ndef | ../test/root/bin/fish -i -c 'read a; read b; show $a; show $b'
echo abc\ndef | ../test/root/bin/fish -i -c 'read a; read b; show a; show b'