diff --git a/tests/checks/type.fish b/tests/checks/type.fish index f5f0bbc4b..b0c162ecd 100644 --- a/tests/checks/type.fish +++ b/tests/checks/type.fish @@ -30,11 +30,11 @@ type sh # CHECK: sh is {{.*}}/bin/sh # Test that we print a function definition. -# The exact definition here depends on the system, so we'll ignore the actual code. +# The exact definition and description here depends on the system, so we'll ignore the actual code. type realpath | grep -v "^ *" # CHECK: realpath is a function with definition # CHECK: # Defined in {{.*}}/functions/realpath.fish @ line {{\d+}} -# CHECK: function realpath --description 'print the resolved path [command realpath]' +# CHECK: function realpath --description {{.+}} # CHECK: end type -t realpath foobar