1load("@my_rules_go//go:def.bzl", "go_test") 2 3go_test( 4 name = "runfiles_test", 5 srcs = ["runfiles_test.go"], 6 args = ["$(rlocationpath @other_module//:bar.txt)"], 7 data = ["@other_module//:bar.txt"], 8 deps = ["@my_rules_go//go/runfiles"], 9) 10