Changeset

8687:ee01578c67cb

net.http.server: Prevent loading of net.server in tests (breaks unrelated tests for some reason)
author Kim Alvefur <zash@zash.se>
date Sat, 24 Mar 2018 00:06:55 +0100
parents 8686:a0f728c3aa69
children 8688:019b4b3dd5ad
files spec/net_http_server_spec.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/spec/net_http_server_spec.lua	Fri Mar 23 18:02:37 2018 +0100
+++ b/spec/net_http_server_spec.lua	Sat Mar 24 00:06:55 2018 +0100
@@ -1,4 +1,5 @@
 describe("net.http.server", function ()
+	package.loaded["net.server"] = {}
 	local server = require "net.http.server";
 	describe("events", function ()
 		it("should work with util.helpers", function ()