Skip to content

Commit f1098af

Browse files
committed
Fix rustfmt_wrapper.bzl to generate test names with _test suffix
1 parent 6e275a1 commit f1098af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/private/rustfmt_wrapper.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,5 @@ def rust_test_suite(name, srcs = [], **kwargs):
4343

4444
# Prefixed with `name` to allow parameterization with macros
4545
# The test name should not end with `.rs`
46-
test_name = name + "_" + src[:-3]
46+
test_name = name + "_" + src[:-3] + "_test"
4747
_wrap_with_fmt_test(test_name, kwargs.get("tags", []))

0 commit comments

Comments
 (0)