diff scripts/test.luan @ 435:5b36f663a1b8

make members lower case
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 03 May 2015 21:28:49 -0600
parents cd2924a1052c
children 2b9bc97f0439
line wrap: on
line diff
--- a/scripts/test.luan	Sun May 03 16:21:25 2015 -0600
+++ b/scripts/test.luan	Sun May 03 21:28:49 2015 -0600
@@ -12,18 +12,18 @@
 end
 
 function Io.schemes.site(path)
-	return Io.Uri( "luan:web"..path )
+	return Io.uri( "luan:web"..path )
 end
 
 
 Http.init_for_test()
 Http.request.parameters.code = "require('luan:Io').print 'hi'"
-page = Http.get_page "/web_run"
+page = Http.get_page "/run"
 assert( page.trim() == "hi" )
 
 Http.init_for_test()
 Http.request.parameters.cmd = "'ab'..'cd'"
-page = Http.get_page "/web_shell"
+page = Http.get_page "/shell"
 assert( page.find "abcd" )
 
 
@@ -33,7 +33,7 @@
 this_dir = this_file.parent()
 lucene_dir = this_dir.parent().child("build").child("lucene_test")
 --print(lucene_dir.to_string())
-db = Lucene.Index(lucene_dir.to_string())
+db = Lucene.index(lucene_dir.to_string())
 db.delete_all()
 
 ab_testing = Ab_testing.of(db)