Skip to content

Commit

Permalink
💚 Fixing CI Build. run test
Browse files Browse the repository at this point in the history
  • Loading branch information
lbw committed Jan 2, 2024
1 parent 9e44741 commit e0fcffa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/oss-snapshot-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Publish to Maven Central
if: contains('${{ env.RELEASE_VERSION }}', 'SNAPSHOT')
run: mvn clean deploy -P snapshot -Dmaven.test.skip=true
run: mvn clean deploy -P snapshot
env:
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,16 @@

class ExpressionResolverTest {

private static final ParameterNameDiscoverer DISCOVERER = new DefaultParameterNameDiscoverer();
private static final ParameterNameDiscoverer DISCOVERER = new DefaultParameterNameDiscoverer();

@Test
public void testParameterNameDiscoverer() throws Exception {
String[] parameterNames = DISCOVERER
.getParameterNames(DemoController.class.getDeclaredMethod("get", String.class));

@Test
public void testParameterNameDiscoverer() throws Exception{
String[] parameterNames = DISCOVERER.getParameterNames(DemoController.class.getDeclaredMethod("get",String.class));
for (String parameterName : parameterNames) {
System.out.println(parameterName);
}
}

for (String parameterName : parameterNames) {
System.out.println(parameterName);
}
}
}

0 comments on commit e0fcffa

Please sign in to comment.