Validate data files are propagated
diff --git a/src/test/starlark/compile/rule_tests.bzl b/src/test/starlark/compile/rule_tests.bzl
index 24d454b..5cb966c 100644
--- a/src/test/starlark/compile/rule_tests.bzl
+++ b/src/test/starlark/compile/rule_tests.bzl
@@ -129,6 +129,7 @@
         additional_compile_libs = [],
         **kwargs):
     def _case(test):
+        have_data = test.artifact("some.file")
         have = test.have(
             rule_under_test,
             name = "have",
@@ -137,6 +138,9 @@
             ],
             deps = [
             ],
+            data = [
+                have_data,
+            ],
             **kwargs
         )
 
@@ -181,7 +185,9 @@
                 ),
                 "runfiles": Want(
                     attr = attr.label_list(allow_empty = True, allow_files = True),
-                    value = [],
+                    value = [
+                        have_data,
+                    ],
                 ),
             },
         )