comparison blog/src/private/tools/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 e930f92d0f61
children
comparison
equal deleted inserted replaced
692:7bd97d642f37 693:ca169567ce07
1 local Luan = require "luan:Luan" 1 local Luan = require "luan:Luan.luan"
2 local do_file = Luan.do_file 2 local do_file = Luan.do_file
3 local try = Luan.try 3 local try = Luan.try
4 local Io = require "luan:Io" 4 local Io = require "luan:Io.luan"
5 local print = Io.print 5 local print = Io.print
6 local Http = require "luan:http/Http" 6 local Http = require "luan:http/Http.luan"
7 7
8 8
9 return function() 9 return function()
10 Io.stdout = Http.response.text_writer() 10 Io.stdout = Http.response.text_writer()
11 Http.response.content_type = "text/plain" 11 Http.response.content_type = "text/plain"