This commit is contained in:
parent
593bdb17d4
commit
faf881fa0c
10 changed files with 201 additions and 8 deletions
|
|
@ -115,6 +115,7 @@ int main(int argc, char** argv) {
|
|||
{
|
||||
const std::string body = srv.Body("/demos/raytracer");
|
||||
for (std::string_view probe : { "rel=\"stylesheet\"", "rel=\"icon\"",
|
||||
"rel=\"apple-touch-icon\"",
|
||||
"name=\"viewport\"" }) {
|
||||
const std::size_t n = CountOccurrences(body, probe);
|
||||
Check(n == 1, std::format("demo page has exactly one {}", probe),
|
||||
|
|
|
|||
Loading…
Reference in a new issue