mirror of
https://github.com/pantor/inja.git
synced 2026-05-31 00:05:23 +00:00
temp fix some unit test for mvsc
This commit is contained in:
@@ -448,6 +448,7 @@ public:
|
||||
case Parsed::Type::Expression: {
|
||||
auto elementExpression = std::static_pointer_cast<Parsed::ElementExpression>(element);
|
||||
json variable = eval_expression(*elementExpression, data);
|
||||
std::cout << "expression - " << variable << std::endl;
|
||||
if (variable.is_string()) {
|
||||
result += variable.get<std::string>();
|
||||
} else {
|
||||
@@ -488,6 +489,7 @@ public:
|
||||
case Parsed::Type::Comment: { break; }
|
||||
}
|
||||
}
|
||||
std::cout << "result - " << result << std::endl;
|
||||
return result;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user