Skip to content

Commit 929273f

Browse files
Add doc and link (#36)
1 parent 0937a69 commit 929273f

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

test/color/test.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,13 @@
3333
set -e
3434

3535
# Optional: Import test library bundled with the devcontainer CLI
36+
# See https://github.com/devcontainers/cli/blob/HEAD/docs/features/test.md#dev-container-features-test-lib
3637
# Provides the 'check' and 'reportResults' commands.
3738
source dev-container-features-test-lib
3839

3940
# Feature-specific tests
40-
# The 'check' command comes from the dev-container-features-test-lib.
41-
41+
# The 'check' command comes from the dev-container-features-test-lib. Syntax is...
42+
# check <LABEL> <cmd> [args...]
4243
check "validate favorite color" color | grep 'my favorite color is red'
4344

4445
# Report result

test/hello/test.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,13 @@
3333
set -e
3434

3535
# Optional: Import test library bundled with the devcontainer CLI
36+
# See https://github.com/devcontainers/cli/blob/HEAD/docs/features/test.md#dev-container-features-test-lib
3637
# Provides the 'check' and 'reportResults' commands.
3738
source dev-container-features-test-lib
3839

3940
# Feature-specific tests
40-
# The 'check' command comes from the dev-container-features-test-lib.
41+
# The 'check' command comes from the dev-container-features-test-lib. Syntax is...
42+
# check <LABEL> <cmd> [args...]
4143
check "execute command" bash -c "hello | grep 'hey, $(whoami)!'"
4244

4345
# Report results

0 commit comments

Comments
 (0)