[tests] Fix test to reflect whitespace changes to error message

This commit is contained in:
Mahmoud Al-Qudsi
2020-06-25 23:19:44 -05:00
parent 4ba9e70f9a
commit f0580b4970

View File

@@ -108,8 +108,7 @@ test "$name3[3..-1]" = "$name3a[2..-1]"; and echo "3 = 3a"
function test
echo banana
end
#CHECKERR: {{.*}}checks/function.fish (line {{\d+}}): function: The name 'test' is reserved,
#CHECKERR: and can not be used as a function name
#CHECKERR: {{.*}}checks/function.fish (line {{\d+}}): function: The name 'test' is reserved, and cannot be used as a function name
#CHECKERR: function test
#CHECKERR: ^