Added note decorator test case

This commit is contained in:
Bartek Kryza
2021-07-29 19:19:24 +02:00
parent 75cb5765f8
commit 4ee1aee0e7
11 changed files with 189 additions and 7 deletions

View File

@@ -68,7 +68,7 @@ std::shared_ptr<decorator> note::from_string(std::string_view c)
std::advance(it, note_position.size() + 1);
}
else if (*it == ' ') {
else if (std::isspace(*it)) {
std::advance(it, 1);
}
else {