Skip to content

Commit

Permalink
Rename ShadowCondition
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu committed Nov 4, 2024
1 parent 51542d8 commit 73fc71f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ class ColumnShadowAlgorithmDeterminerTest {
@Test
void assertIsShadow() {
Properties props = PropertiesBuilder.build(new Property("column", "user_id"), new Property("operation", "insert"), new Property("regex", "[1]"));
assertTrue(ColumnShadowAlgorithmDeterminer.isShadow(
(ColumnShadowAlgorithm) TypedSPILoader.getService(ShadowAlgorithm.class, "REGEX_MATCH", props), createShadowCondition()));
assertTrue(ColumnShadowAlgorithmDeterminer.isShadow((ColumnShadowAlgorithm) TypedSPILoader.getService(ShadowAlgorithm.class, "REGEX_MATCH", props), createShadowCondition()));
}

private ShadowCondition createShadowCondition() {
Expand Down

0 comments on commit 73fc71f

Please sign in to comment.