Update pre-commit from 0.3.3 to 0..3.4. (#5537)

* test branch.

* Upgrade pre-commit to 0.3.4.

* Reverse cosmetic change.
This commit is contained in:
Luke deGruchy 2023-12-05 19:52:53 -05:00 committed by GitHub
parent 293cd3ef3c
commit f5cb674345
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
repos:
- repo: https://github.com/ejba/pre-commit-maven
rev: v0.3.3
rev: v0.3.4
hooks:
- id: maven-spotless-apply
stages: [pre-push]

View File

@ -77,7 +77,7 @@ public class AddColumnTest extends BaseTest {
@ParameterizedTest(name = "{index}: {0}")
@MethodSource("data")
public void testAddColumnToNonExistantTable_Failing(Supplier<TestDatabaseDetails> theTestDatabaseDetails) {
public void testAddColumnToNonExistentTable_Failing(Supplier<TestDatabaseDetails> theTestDatabaseDetails) {
before(theTestDatabaseDetails);
BaseMigrationTasks<VersionEnum> tasks = new BaseMigrationTasks<>();
@ -93,7 +93,7 @@ public class AddColumnTest extends BaseTest {
getMigrator().migrate();
fail();
} catch (HapiMigrationException e) {
assertThat(e.getMessage(), startsWith("HAPI-0047: Failure executing task \"Add column foo_column on table FOO_TABLE\", aborting! Cause: ca.uhn.fhir.jpa.migrate.HapiMigrationException: HAPI-0061: Failed during task 4.0.0.2001.01: "));
assertThat(e.getMessage(), startsWith("HAPI-0047: Failure executing task \"Add column FOO_COLUMN on table FOO_TABLE\", aborting! Cause: ca.uhn.fhir.jpa.migrate.HapiMigrationException: HAPI-0061: Failed during task 4.0.0.2001.01: "));
}
}