mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-31 15:25:15 +08:00
parent
473dc16b2b
commit
9ca6cb9fc8
|
@ -244,6 +244,8 @@ function __fish_test_shadow
|
|||
env | string match -q '__fish_test_env17=*' ; or echo SHADOWED
|
||||
end
|
||||
__fish_test_shadow
|
||||
# Test that the variable is still exported (#2611)
|
||||
env | string match '__fish_test_env17=*'
|
||||
|
||||
# clear for other shells
|
||||
set -eU __fish_test_universal_variables_variable_foo
|
||||
|
|
|
@ -19,6 +19,7 @@ count:5 content:[functionblock function global universal blocklocal]
|
|||
Test 16 pass
|
||||
__fish_test_env17=UNSHADOWED
|
||||
SHADOWED
|
||||
__fish_test_env17=UNSHADOWED
|
||||
Testing Universal Startup
|
||||
1
|
||||
1
|
||||
|
|
Loading…
Reference in New Issue
Block a user