From 0fea11b925398cc9a27daffba6f3d9008c7d16dd Mon Sep 17 00:00:00 2001 From: Kah2412 <124410668+Kah2412@users.noreply.github.com> Date: Wed, 11 Mar 2026 17:52:45 -0300 Subject: [PATCH] docs: improve JSON and YAML example clarity #346 Updated the generic 'key' and 'value' assertions in the JSON and YAML documentation to use more semantic terms like 'tool' and 'version'. This addresses the feedback in issue #346 to make the examples more intuitive for new users. --- docs/docs/assertions/files.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/assertions/files.md b/docs/docs/assertions/files.md index 4b7de66f..220d904f 100644 --- a/docs/docs/assertions/files.md +++ b/docs/docs/assertions/files.md @@ -19,7 +19,7 @@ assert path(process.out.out_ch.get(0)).json == path('./some.json').json Individual keys can also be asserted: ```Groovy -assert path(process.out.out_ch.get(0)).json.key == "value" +assert path(process.out.out_ch.get(0)).json.tool == "nf-test" ``` ## YAML Files