| GET https://go.dev/blog/ |
| body contains The Go Blog |
| header Content-Type == text/html; charset=utf-8 |
| |
| GET https://golang.google.cn/blog/ |
| body contains The Go Blog |
| header Content-Type == text/html; charset=utf-8 |
| |
| GET https://go.dev/blog/2010/08/defer-panic-and-recover.html |
| redirect == /blog/defer-panic-and-recover |
| |
| GET https://golang.google.cn/blog/2010/08/defer-panic-and-recover.html |
| redirect == /blog/defer-panic-and-recover |
| |
| GET https://go.dev/blog/upcoming-google-io-go-events |
| redirect == /blog/io2010-preview |
| |
| GET https://go.dev/blog/strings |
| body contains produces this mess |
| body contains <div class="playground" |
| body contains <pre contenteditable="true" spellcheck="false">package main |
| |
| GET https://go.dev/blog/race-detector |
| body contains <span class="number">11 </span> start := time.Now() |
| |
| GET https://go.dev/blog/go2draft |
| body contains <iframe |
| |
| GET https://go.dev/blog/gouk15 |
| body contains <img |
| |
| GET https://golang.org/blog/ |
| redirect == https://go.dev/blog/ |
| |
| GET https://golang.org/blog |
| redirect == https://go.dev/blog |
| |
| GET https://go.dev/blog |
| redirect == /blog/ |
| |
| GET https://go.dev/blog/feed.atom |
| header Content-Type == application/atom+xml; charset=utf-8 |
| body contains <feed xmlns="http://www.w3.org/2005/Atom"><title>The Go Blog</title> |
| body !contains <author><name></name></author> |
| |
| GET https://go.dev/blog/.json |
| header Content-Type == application/json; charset=utf-8 |
| body contains [{" |
| |
| GET https://golang.google.cn/blog/feed.atom |
| header Content-Type == application/atom+xml; charset=utf-8 |
| body contains <feed xmlns="http://www.w3.org/2005/Atom"><title>The Go Blog</title> |
| |
| GET https://golang.google.cn/blog/.json |
| header Content-Type == application/json; charset=utf-8 |
| body contains [{" |
| |
| GET https://blog.golang.org/ |
| redirect == https://go.dev/blog/ |
| |
| GET https://blog.golang.org/x |
| redirect == https://go.dev/blog/x |
| |
| GET https://blog.golang.org/x/ |
| redirect == https://go.dev/blog/x/ |
| |
| GET https://go.dev/blog/x/ |
| code == 404 |
| |
| GET https://blog.golang.org/go1.16 |
| redirect == https://go.dev/blog/go1.16 |
| |
| GET https://go.dev/blog/go1.16 |
| body contains Go 1.16 |
| |
| GET https://blog.golang.org/?googlecn=1 |
| redirect == https://golang.google.cn/?googlecn=1 |
| |
| GET https://go.dev/blog/alias-names |
| hint the godocs.js script should be loaded once, and no more |
| body ~ (<script src="/js/godocs\.js"></script>(.|\n)+){1} |
| body !~ (<script src="/js/godocs\.js"></script>(.|\n)+){2} |