lib/nitcorn: update examples as they don't need to check for tests
[nit.git] / lib / nitcorn / examples / src / nitcorn_hello_world.nit
index a9e8f55..9eb1662 100644 (file)
@@ -77,9 +77,6 @@ vh.routes.add new Route("/hello/:name", new ParamAction)
 # Serve everything else with a standard `FileServer` with a root at "www/hello_world/"
 vh.routes.add new Route(null, new FileServer("www/hello_world/"))
 
-# Avoid executing when running tests
-if "NIT_TESTING".environ == "true" then exit 0
-
 var factory = new HttpFactory.and_libevent
 factory.config.virtual_hosts.add vh
 factory.run