diff --git a/tests/alias.err b/tests/alias.err index e69de29bb..7defa80dc 100644 --- a/tests/alias.err +++ b/tests/alias.err @@ -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 diff --git a/tests/alias.in b/tests/alias.in index 6276a5f96..308667811 100644 --- a/tests/alias.in +++ b/tests/alias.in @@ -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) ' diff --git a/tests/alias.out b/tests/alias.out index 5da9852d3..d91105385 100644 --- a/tests/alias.out +++ b/tests/alias.out @@ -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'