Skip to content

Commit

Permalink
Remove redundant check
Browse files Browse the repository at this point in the history
  • Loading branch information
fmorency authored and filmil committed Feb 27, 2023
1 parent 3166697 commit e85b43e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions rules.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,6 @@ def bats_test_suite(name, srcs, **kwargs):
tests = []

for src in srcs:
if not src.endswith(".bats"):
fail("srcs should have `.bats` extensions")

# Prefixed with `name` to allow parameterization with macros
# The test name should not end with `.bats`
test_name = name + "_" + src[:-5]
Expand Down

0 comments on commit e85b43e

Please sign in to comment.