We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I`m using this regex: \d+(?:Mi|Gi|M|G)\b\Z and also as alternative \d+(?:Mi|Gi|M|G)\b(?!\s) but unittest does not recognize \Z and ?! https://cheatography.com/davechild/cheat-sheets/regular-expressions/
FAIL Check the design service template myprog/tests/design_test.yaml - Deployment check Memory and CPU of containers Image
- asserts[0] `matchRegex` fail Template: myprog/templates/design.yaml Error: error parsing regexp: invalid escape sequence: `\Z`
FAIL Check the audit service template myprog/tests/audit_test.yaml - Deployment check Memory and CPU of containers Image
- asserts[0] `matchRegex` fail Template: myprog/templates/audit.yaml Error: error parsing regexp: invalid or unsupported Perl syntax: `(?!`
The text was updated successfully, but these errors were encountered:
Hello @catalintgv,
It is correct the unittest does not support \Z and ?! regex. See the following site for the supported regex syntax https://pkg.go.dev/regexp/syntax.
I also will add the reference to the documention.
Greetings, @quintush
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
I`m using this regex: \d+(?:Mi|Gi|M|G)\b\Z and also as alternative \d+(?:Mi|Gi|M|G)\b(?!\s) but unittest does not recognize \Z and ?!
https://cheatography.com/davechild/cheat-sheets/regular-expressions/
FAIL Check the design service template myprog/tests/design_test.yaml
- Deployment check Memory and CPU of containers Image
FAIL Check the audit service template myprog/tests/audit_test.yaml
- Deployment check Memory and CPU of containers Image
The text was updated successfully, but these errors were encountered: