mirror of
https://github.com/google/nomulus.git
synced 2025-08-30 04:53:16 +02:00
Do not use shaded dependencies from testcontainers (#2343)
Also fixed a flaky test where it depends on the current date. On a leap day, now + 1 year - 1 year results in 2/28 instead of 2/29.
This commit is contained in:
parent
d1f678bba7
commit
fbe0f4e0f2
15 changed files with 24 additions and 16 deletions
|
@ -172,6 +172,12 @@ PRESUBMITS = {
|
|||
{"/node_modules/", "google/registry/ui/js/util.js", "registrar_bin."},
|
||||
):
|
||||
"JavaScript files should not include console logging.",
|
||||
PresubmitCheck(
|
||||
r"org\.testcontainers\.shaded\.",
|
||||
"java",
|
||||
{"/node_modules/"},
|
||||
):
|
||||
"Do not use shaded dependencies from testcontainers.",
|
||||
}
|
||||
|
||||
# Note that this regex only works for one kind of Flyway file. If we want to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue