diff scripts/test.luan @ 554:18504c41b0be

move debug() to Io and remove Debug module; Io.print() now doesn't print newline if there is nothing to be printed;
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 18 Jun 2015 03:30:18 -0600
parents f4dfe9c64c25
children 195a64f948f2
line wrap: on
line diff
--- a/scripts/test.luan	Thu Jun 18 03:14:07 2015 -0600
+++ b/scripts/test.luan	Thu Jun 18 03:30:18 2015 -0600
@@ -1,5 +1,4 @@
 local Binary = require "luan:Binary"
-local Debug = require "luan:Debug"
 local Html = require "luan:Html"
 local Io = require "luan:Io"
 local Luan = require "luan:Luan"
@@ -19,11 +18,11 @@
 local Stripe = require "luan:stripe/Stripe"
 
 local error = Luan.error
-local range = Luan.range
-local trim = String.trim
-local find = String.find
-local init = Http_test.init
-local get_page = Http_test.get_page
+local range = Luan.range or error()
+local trim = String.trim or error()
+local find = String.find or error()
+local init = Http_test.init or error()
+local get_page = Http_test.get_page or error()
 local Ab_testing = require "luan:lucene/Ab_testing"