diff --git a/concurrency.md b/concurrency.md index 016392eb..45120c26 100644 --- a/concurrency.md +++ b/concurrency.md @@ -41,10 +41,7 @@ import ( ) func mockWebsiteChecker(url string) bool { - if url == "waat://furhurterwe.geds" { - return false - } - return true + return url != "waat://furhurterwe.geds" } func TestCheckWebsites(t *testing.T) {