rapidcheck icon indicating copy to clipboard operation
rapidcheck copied to clipboard

RC_PARAMS environment is not parsed as described in the docs (Windows)

Open vasil-pashov opened this issue 1 year ago • 0 comments

According to doc/configuration.md (commit sha c5b0a27)

The configuration string has the format <key1>=<value1> <key2>=<value2> ...

However, when I set RC_PARAMS to seed=1234 and put a breakpoint in MapParser.cpp I found out that the config map has one string key seed=1234 which is empty. If I set RC_PARAMS to be seed = 1234 parses the key/value pair properly. I see two options:

a) Fix the docs and point out that the spaces around = are important b) Fix the code

I'm happy to open a PR with either of the two changes.

vasil-pashov avatar Dec 30 '23 21:12 vasil-pashov