test-fullautomation / python-jsonpreprocessor

A preprocessor for json files
Apache License 2.0
2 stars 2 forks source link

Namsonx/task/stabi branch #271

Closed namsonx closed 1 month ago

namsonx commented 1 month ago

Hi Son,

you improved a little bit too much. Even in case of a dictionary

"newparam" : ${dictP}['${indexP}']

the new error message is:

'The ${dictP} expects integer as index. Got string instead in the ${dictP}['${indexP}']'

But that's wrong. Dictionaries have keys, and keys can be both strings and integers.

And please adapt your choice of words:

Not: "in the ..." But: "in expression ..." Or much shorter: "in ..."

Hello Holger,

Thank you for your correction! I updated the error message.

Thank you.