aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/docs/skylark
diff options
context:
space:
mode:
authorGravatar vladmos <vladmos@google.com>2018-05-02 04:51:44 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-05-02 04:53:26 -0700
commit87493af09be21519f5dd7b7278e3eca194d0e35a (patch)
treee38807fed7ea5ea104b2ec4285c81bbea4da3560 /site/docs/skylark
parent769a424f64636967a886c76a8efc24e34eb22f7a (diff)
Fix code blocks in the documentation
"shell" is an unknown lexer for Jekyll, "bash" should be used instead. PiperOrigin-RevId: 195075891
Diffstat (limited to 'site/docs/skylark')
-rw-r--r--site/docs/skylark/testing.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/site/docs/skylark/testing.md b/site/docs/skylark/testing.md
index b517ae86cb..e1dbd08059 100644
--- a/site/docs/skylark/testing.md
+++ b/site/docs/skylark/testing.md
@@ -279,7 +279,7 @@ example that validates that the output of `myrule` from above is `"abc"`.
`//mypkg/myrule_validator.sh`:
-```shell
+```bash
if [ "$(cat $1)" = "abc" ]; then
echo "Passed"
exit 0
@@ -320,7 +320,7 @@ substitutions) instead of numeric ones (for arguments).
`//mypkg/myrule_validator.sh.template`:
-```shell
+```bash
if [ "$(cat %TARGET%)" = "abc" ]; then
echo "Passed"
exit 0