diff http/src/luan/modules/http/HttpTest.luan @ 505:7bc63886d4f2

web page modules now return a function
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 21 May 2015 01:45:49 -0600
parents 92c3d22745b8
children
line wrap: on
line diff
--- a/http/src/luan/modules/http/HttpTest.luan	Thu May 21 01:09:35 2015 -0600
+++ b/http/src/luan/modules/http/HttpTest.luan	Thu May 21 01:45:49 2015 -0600
@@ -12,7 +12,7 @@
 	end
 	local old_out = Io.stdout
 	local mod = require("site:"..path)
-	mod.respond()
+	mod()
 	M.text_writer.close()
 	Io.stdout = old_out
 	return M.result.read_text()