From 518b63a00226e49a7e57a7aa62ecfef1366a6925 Mon Sep 17 00:00:00 2001 From: Swarnim Arun Date: Mon, 27 Nov 2023 15:40:07 +0530 Subject: [PATCH] docs: fix docs for correctness (#362) --- docs/selectors.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/selectors.md b/docs/selectors.md index 00e374ebc..e44eef39c 100644 --- a/docs/selectors.md +++ b/docs/selectors.md @@ -18,7 +18,7 @@ requirements: host: - if: unix then: unix-tool - - if: win: + - if: win then: win-tool ``` @@ -86,11 +86,11 @@ variant version has a matching version. For example, if we have again a `python: 3.8` variant, we could use the following tests: ```yaml -- if: cmp(python, "3.8")) # true +- if: cmp(python, "3.8") # true then: mydep -- if: cmp(python, ">=3.8")) # true +- if: cmp(python, ">=3.8") # true then: mydep -- if: cmp(python, "<3.8")) # false +- if: cmp(python, "<3.8") # false then: mydep ```