diff --git a/tests/cases/expressions.html b/tests/cases/expressions.html
index 65cdc3a..78aa546 100644
--- a/tests/cases/expressions.html
+++ b/tests/cases/expressions.html
@@ -6,6 +6,9 @@
xdg_executable := executable_directory()
xdg_home := home_directory()
+mydir := justfile_dir()
+invoked_from := invocation_dir_native()
+
random1 := choose('10', HEXLOWER + replace_regex(HEXUPPER, '\d+', ''))
example_url := 'https://foo.example/?parameter=' + encode_uri_component(
diff --git a/tests/cases/expressions.just b/tests/cases/expressions.just
index 3a1c747..85468ff 100644
--- a/tests/cases/expressions.just
+++ b/tests/cases/expressions.just
@@ -6,6 +6,9 @@ xdg_data_local := data_local_directory()
xdg_executable := executable_directory()
xdg_home := home_directory()
+mydir := justfile_dir()
+invoked_from := invocation_dir_native()
+
random1 := choose('10', HEXLOWER + replace_regex(HEXUPPER, '\d+', ''))
example_url := 'https://foo.example/?parameter=' + encode_uri_component(