parser: add more tests

This commit is contained in:
djcb
2017-10-28 14:12:50 +03:00
parent a4fefc7256
commit 0e5e8b6bce
6 changed files with 118 additions and 30 deletions

View File

@ -112,7 +112,7 @@ struct DummyProc: public ProcIface { // For testing
}
bool is_range_field (const std::string& field) const override {
return false;
return field == "range";
}
Range process_range (const std::string& field, const std::string& lower,