louiscad
11/17/2023, 11:03 AMexpr { env.GITHUB_ACTIONS } shouldBe "$dollar{{ GITHUB_ACTIONS }}"
expr { env.GITHUB_ACTIONS } shouldBe "\${{ GITHUB_ACTIONS }}"
LeoColman
11/17/2023, 11:08 AMabc shouldBe ("$" + "{{ GITHUB_ACTIONS }}")
louiscad
11/17/2023, 11:09 AMLeoColman
11/17/2023, 11:10 AM+
is easier on my eyes to understand what exactly I'm trying to testLeoColman
11/17/2023, 11:10 AMLeoColman
11/17/2023, 11:11 AMLeoColman
11/17/2023, 11:11 AMlouiscad
11/17/2023, 11:12 AMlouiscad
11/17/2023, 11:12 AMLeoColman
11/17/2023, 11:17 AMLeoColman
11/17/2023, 11:23 AM"www" + website + Constants.SLASH + "path" + variable + ...
louiscad
11/17/2023, 11:24 AMLeoColman
11/17/2023, 11:36 AM\${{}}
-- Like having to force my brain to think what it means instead of just 'knowing'LeoColman
11/17/2023, 11:37 AMLeoColman
11/17/2023, 11:42 AMabc should be """${{ GITHUB_ACTIONS }}"""
LeoColman
11/17/2023, 11:43 AM"
, but remove the """"ambiguity"""" of escaping the $
louiscad
11/17/2023, 1:07 PMlouiscad
11/17/2023, 1:08 PM\
means "we're not putting a Kotlin variable or expression in there, it's just a $
character."LeoColman
11/17/2023, 1:14 PM"""
, right?LeoColman
11/17/2023, 1:14 PMlouiscad
11/17/2023, 1:24 PMlouiscad
11/17/2023, 1:24 PM"""${{ lol }}"""
doesn't compilelouiscad
11/17/2023, 1:25 PMlol
is defined of courseLeoColman
11/17/2023, 1:25 PM${
is actually a template due to ${foo.bar}
LeoColman
11/17/2023, 1:25 PM$(
, which would probably compile finelouiscad
11/17/2023, 1:25 PM