test-fullautomation / python-jsonpreprocessor

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

Invalid error message (1) #155

Closed HolQue closed 7 months ago

HolQue commented 9 months ago

The JSON code

"par${1}am2" : "123"

causes a returned value of a parameter with invalid name:

{'parstr($){1}am2': '123'}

Expected is an "invalid parameter format" error - because a hard coded integer value between curly brackets makes no sense.

For example:

The JSON code

"par${...}am2" : "123"

(also nonsense) causes

'Invalid parameter format in line: "par${...}am2" : "123"'

that is completely fine.

namsonx commented 7 months ago

Hello Holger, Hello Thomas,

I pushed new commit 20b10d71dc to stabi branch for this ticket.

Thank you, Son

HolQue commented 7 months ago

Retest successful. Issue can be closed.