Skip to content
New issue

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

[stable26] Fix json output #9405

Merged
merged 6 commits into from
May 2, 2023
Merged

[stable26] Fix json output #9405

merged 6 commits into from
May 2, 2023

Conversation

backportbot-nextcloud[bot]
Copy link

backport of #9067

#8404

Signed-off-by: Vitor Mattos <vitor@php.rio>
Verified only if the output contain a common json simbols: list of
objects: [{

Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
Will be a bit complex to match a string with quote because the regex
ignore quotes: ([^"]*). If we change the regex don't will be possible
found the end of string and maybe we will need to change the delimiter
of the json string:

https://stackoverflow.com/questions/8533943/cucumber-fill-in-a-field-with-double-quote-in-it#8534220

I changed to accept the argument also as PyStringNode and don't need do
nothin more inside the method because the PyStringNode class have a
magich methdo __toString().

Signed-off-by: Vitor Mattos <vitor@php.rio>
…string

* Make the definition of steps more specific

Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
@vitormattos vitormattos merged commit 7d6290d into stable26 May 2, 2023
@vitormattos vitormattos deleted the backport/9067/stable26 branch May 2, 2023 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants