mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 01:16:36 +08:00
2af710f7c0
This was an internal implementation detail that all callers had to deal with. Just get rid of it.
16 lines
288 B
Fish
16 lines
288 B
Fish
# RUN: %fish %s
|
|
|
|
# Ensure that, if variable expansion results in multiple strings
|
|
# and one of them fails a glob, that we don't fail the entire expansion.
|
|
set dir (mktemp -d)
|
|
cd $dir
|
|
mkdir a
|
|
mkdir b
|
|
touch ./b/file.txt
|
|
|
|
set dirs ./a ./b
|
|
echo $dirs/*.txt
|
|
# CHECK: ./b/file.txt
|
|
|
|
rm -Rf $dir
|