We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
starship.rs
1 parent 99905cd commit 9cd146dCopy full SHA for 9cd146d
test/starship.rs/test.sh
@@ -0,0 +1,18 @@
1
+#!/bin/bash
2
+
3
4
+set -e
5
6
+# Optional: Import test library bundled with the devcontainer CLI
7
+# See https://github.com/devcontainers/cli/blob/HEAD/docs/features/test.md#dev-container-features-test-lib
8
+# Provides the 'check' and 'reportResults' commands.
9
+source dev-container-features-test-lib
10
11
+# Feature-specific tests
12
+# The 'check' command comes from the dev-container-features-test-lib. Syntax is...
13
+# check <LABEL> <cmd> [args...]
14
+check "execute command" bash -c "starship --version | grep 'starship'"
15
16
+# Report results
17
+# If any of the checks above exited with a non-zero exit code, the test will fail.
18
+reportResults
0 commit comments