aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/docs/build-ref.html
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2016-06-08 15:47:31 +0000
committerGravatar Yun Peng <pcloudy@google.com>2016-06-08 15:58:33 +0000
commit331978094959b0a5765ff504809ac3af38ab371a (patch)
tree71eca9fb5b0fa118594008789fa34f68515497a3 /site/docs/build-ref.html
parent828a9e2f167db8c4debca6e00ee37dd030849c2f (diff)
Improve example of $TEST_SRCDIR in the documentation.
-- MOS_MIGRATED_REVID=124356206
Diffstat (limited to 'site/docs/build-ref.html')
-rw-r--r--site/docs/build-ref.html6
1 files changed, 2 insertions, 4 deletions
diff --git a/site/docs/build-ref.html b/site/docs/build-ref.html
index 87004ca05c..d594739a22 100644
--- a/site/docs/build-ref.html
+++ b/site/docs/build-ref.html
@@ -1097,11 +1097,9 @@ sh_test(
<p>These files are available using the relative path
<code>"path/to/data/file"</code>. In tests, it is also possible to refer to
them by joining the paths of the test's source directory and the workspace-relative
-path, e.g. <code>${TEST_SRCDIR}/path/to/data/file</code>. (The exact syntax
-depends on your programming language, of course.)</p>
-
-<p>
+path, e.g.
+<code>${TEST_SRCDIR}/workspace/path/to/data/file</code>.
<h3 id="label_directory">Using Labels to Reference Directories</h3>
<p>As you look over our <code>BUILD</code> files, you might notice