Skip to content

Commit

Permalink
Test "unexport" as recipe name
Browse files Browse the repository at this point in the history
  • Loading branch information
laniakea64 committed Jun 14, 2024
1 parent 1c189b5 commit 045a196
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/cases/tricky.html
Original file line number Diff line number Diff line change
Expand Up @@ -154,3 +154,7 @@

<span class="Function">not-shell-expanded-string</span> <span class="Identifier">fix</span><span class="Operator">:</span> <span class="Delimiter">(</span><span class="Function">functions2</span> fix<span class="String">'$HOME'</span><span class="Delimiter">)</span>
<span class="Function">not-shell-expanded-string2</span> <span class="Identifier">_-x</span><span class="Operator">:</span> <span class="Delimiter">(</span><span class="Function">functions2</span> _-x<span class="String">"$HOME"</span><span class="Delimiter">)</span>

<span class="Function">unexport</span> <span class="Identifier">PARAM</span> <span class="Special">\</span>
<span class="Operator">:</span>
<span class="Number"> env | grep -P </span><span class="Delimiter">{{</span><span class="Function">quote</span><span class="Normal">(</span><span class="Identifier">PARAM</span><span class="Normal">)</span><span class="Delimiter">}}</span>
4 changes: 4 additions & 0 deletions tests/cases/tricky.just
Original file line number Diff line number Diff line change
Expand Up @@ -154,3 +154,7 @@ edition = "2021"
not-shell-expanded-string fix: (functions2 fix'$HOME')
not-shell-expanded-string2 _-x: (functions2 _-x"$HOME")
unexport PARAM \
:
env | grep -P {{quote(PARAM)}}

0 comments on commit 045a196

Please sign in to comment.