Automatically get float label type in most cases (#463)

* automatically get float type in most cases

* try harder to print json errors

* fix test
This commit is contained in:
water111
2021-05-11 21:57:05 -04:00
committed by GitHub
parent 0599d144f8
commit 223adeeb0c
8 changed files with 37 additions and 178 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ parse_var_json(const std::string& str) {
std::vector<std::string> args;
std::unordered_map<std::string, LocalVarOverride> var_overrides;
auto j = parse_commented_json(str);
auto j = parse_commented_json(str, "Regression Test variable map");
auto arg = j.find("args");
if (arg != j.end()) {