mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-19 08:42:44 +08:00
use new logmsg
and set --show
in tests
This commit is contained in:
parent
d4fb75e9f3
commit
0c69e99d8b
|
@ -0,0 +1,6 @@
|
|||
|
||||
####################
|
||||
# Avoid regressions of issue #3860 wherein the first word of the alias ends with a semicolon
|
||||
|
||||
####################
|
||||
# Bare `alias` should list the aliases we have created and nothing else
|
|
@ -1,5 +1,4 @@
|
|||
# Avoid regressions of issue #3860 wherein the first word of the alias ends
|
||||
# with a semicolon.
|
||||
logmsg Avoid regressions of issue \#3860 wherein the first word of the alias ends with a semicolon
|
||||
function foo
|
||||
echo ran foo
|
||||
end
|
||||
|
@ -8,7 +7,7 @@ my_alias
|
|||
|
||||
alias a-2='echo "hello there"'
|
||||
|
||||
echo '# bare `alias` should list the aliases we have created and nothing else'
|
||||
logmsg Bare `alias` should list the aliases we have created and nothing else
|
||||
# We have to exclude two aliases because they're an artifact of the unit test
|
||||
# framework and we can't predict the definition.
|
||||
alias | grep -Ev '^alias (fish_indent|fish_key_reader) '
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
|
||||
####################
|
||||
# Avoid regressions of issue #3860 wherein the first word of the alias ends with a semicolon
|
||||
ran foo
|
||||
foo ran
|
||||
# bare `alias` should list the aliases we have created and nothing else
|
||||
|
||||
####################
|
||||
# Bare `alias` should list the aliases we have created and nothing else
|
||||
alias a-2 'echo "hello there"'
|
||||
alias my_alias 'foo; and echo foo ran'
|
||||
|
|
Loading…
Reference in New Issue
Block a user