Skip to content

Commit 641e15a

Browse files
committed
Add tab completion assertions
1 parent 4fa80e7 commit 641e15a

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

test/dotnet/test.sh

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,18 @@ test -L /usr/bin/dotnet -a "$(readlink -f /usr/bin/dotnet)" = "$DOTNET_ROOT/dotn
2121

2222
expected=$(fetch_latest_version)
2323

24-
check "Latest .NET SDK version installed" \
24+
check "Latest .NET SDK version $expected installed" \
2525
is_dotnet_sdk_version_installed "$expected"
2626

27+
check "Bash completion script installed" \
28+
test -s /usr/share/bash-completion/completions/dotnet
29+
30+
check "Zsh completion script installed" \
31+
test -s /usr/share/zsh/site-functions/_dotnet
32+
33+
check "Fish completion script installed" \
34+
test -s /usr/share/fish/vendor_completions.d/dotnet.fish
35+
2736
# Report results
2837
# If any of the checks above exited with a non-zero exit code, the test will fail.
2938
reportResults

0 commit comments

Comments
 (0)