diff http/src/luan/modules/http/test.luan @ 693:ca169567ce07

module URIs must now include ".luan"
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 19 Apr 2016 15:54:11 -0600
parents 9218f9cf45d3
children
line wrap: on
line diff
--- a/http/src/luan/modules/http/test.luan	Mon Apr 18 20:40:21 2016 -0600
+++ b/http/src/luan/modules/http/test.luan	Tue Apr 19 15:54:11 2016 -0600
@@ -1,6 +1,6 @@
-local Luan = require "luan:Luan"
-local Io = require "luan:Io"
-local Server = require "luan:http/Server"
+local Luan = require "luan:Luan.luan"
+local Io = require "luan:Io.luan"
+local Server = require "luan:http/Server.luan"
 
 if #{...} ~= 2 then
 	Io.stderr.write "usage: luan luan:http/serve dir-URI test-URI\n"
@@ -9,4 +9,4 @@
 
 local dir, test = ...
 Server.init(dir)
-Luan.do_file(test,true)
+Luan.do_file(test)