1
0
mirror of https://github.com/google/nomulus synced 2026-01-07 22:15:30 +00:00

Make ignoreLinesStartingWith varargs (#2691)

It still is a list, because we String::startsWith does not benefit from
the target being in a set.
This commit is contained in:
Lai Jiang
2025-02-26 12:12:24 -05:00
committed by GitHub
parent 0f3b62d5ce
commit 9fe64bf9ec
2 changed files with 4 additions and 5 deletions

View File

@@ -115,7 +115,7 @@ class SchemaTest {
Joiner.on(File.separatorChar).join(MOUNTED_RESOURCE_PATH, DUMP_OUTPUT_FILE));
assertThat(dumpedSchema)
.ignoringLinesThatStartWith("--")
.ignoringLinesStartingWith("--")
.hasSameContentAs(Resources.getResource("sql/schema/nomulus.golden.sql"));
}