Skip to content
Snippets Groups Projects
Unverified Commit e209808f authored by Adam Setch's avatar Adam Setch Committed by GitHub
Browse files

test(manager/regex): add replaceString to all non-snapshot based test assertions (#21380)

parent e928a8f1
No related branches found
No related tags found
No related merge requests found
...@@ -163,6 +163,8 @@ describe('modules/manager/regex/index', () => { ...@@ -163,6 +163,8 @@ describe('modules/manager/regex/index', () => {
datasource: 'gradle-version', datasource: 'gradle-version',
depName: 'gradle', depName: 'gradle',
versioning: 'maven', versioning: 'maven',
replaceString:
'ENV GRADLE_VERSION=6.2 # gradle-version/gradle&versioning=maven\n',
}, },
], ],
}); });
...@@ -235,6 +237,7 @@ describe('modules/manager/regex/index', () => { ...@@ -235,6 +237,7 @@ describe('modules/manager/regex/index', () => {
currentValue: '17.0.0-alpine', currentValue: '17.0.0-alpine',
datasource: 'docker', datasource: 'docker',
indentation: ' ', indentation: ' ',
replaceString: ' image: eclipse-temurin:17.0.0-alpine',
}, },
], ],
}); });
...@@ -261,6 +264,7 @@ describe('modules/manager/regex/index', () => { ...@@ -261,6 +264,7 @@ describe('modules/manager/regex/index', () => {
currentValue: '17.0.0-alpine', currentValue: '17.0.0-alpine',
datasource: 'docker', datasource: 'docker',
indentation: '', indentation: '',
replaceString: 'name: image: eclipse-temurin:17.0.0-alpine',
}, },
], ],
}); });
...@@ -578,6 +582,8 @@ describe('modules/manager/regex/index', () => { ...@@ -578,6 +582,8 @@ describe('modules/manager/regex/index', () => {
packageName: 'dotnet-runtime', packageName: 'dotnet-runtime',
currentValue: '6.0.13', currentValue: '6.0.13',
datasource: 'dotnet-version', datasource: 'dotnet-version',
replaceString:
'# renovate: datasource=dotnet packageName=dotnet-runtime\nRUN install-tool dotnet 6.0.13',
}, },
], ],
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment