Skip to content

Commit

Permalink
fix: test case
Browse files Browse the repository at this point in the history
Signed-off-by: Jinna C <jinnatim@gmail.com>
  • Loading branch information
cjtim committed Apr 26, 2023
1 parent cfdb3f3 commit 89d8800
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/modules/manager/gradle/extract.spec.ts
Expand Up @@ -698,7 +698,7 @@ describe('modules/manager/gradle/extract', () => {
},
{
depName: 'mocha-junit:mocha-junit',
groupName: 'mocha.junit.reporter',
groupName: 'mocha-junit-reporter',
currentValue: '2.0.2',
managerData: {
fileReplacePosition: 82,
Expand Down
2 changes: 1 addition & 1 deletion lib/modules/manager/gradle/extract/catalog.ts
Expand Up @@ -207,7 +207,7 @@ function extractDependency({
};
}
const versionRef = isVersionPointer(descriptor.version)
? descriptor.version.ref
? descriptor.version.ref.replaceAll('.', '-').replaceAll('_', '-')
: null;
if (isArtifactDescriptor(descriptor)) {
const { group, name } = descriptor;
Expand Down

0 comments on commit 89d8800

Please sign in to comment.