Skip to content

Commit

Permalink
Update tag-stylist-test.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ProtagNeptune authored Jan 11, 2025
1 parent 2ba2417 commit 748ae96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/tests/src/tags/tag-stylist-test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ TEST_CASE("TagStylist")

TagStylist stylist(&pro);
QString actual = stylist.stylished(QList<Tag>() << tag).join("");
std::string expected = "<a href=\"tag_text\" style=\"color:#77777; font-family:'[^']*'; font-size:[0-9]+pt; font-style:normal; font-weight:400; text-decoration:none;\">tag_text</a>";
std::string expected = "<a href=\"tag_text\" style=\"color:#777777; font-family:'[^']*'; font-size:[0-9]+pt; font-style:normal; font-weight:400; text-decoration:none;\">tag_text</a>";
REQUIRE_THAT(actual.toStdString(), Matches(expected));
}

Expand Down

0 comments on commit 748ae96

Please sign in to comment.