changeset 11:f2fc4689d3d6

modify SystemTest.java
author Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
date Sun, 27 May 2012 21:08:36 +0900
parents 888143c20a4c
children da5149cbb9f4
files SystemTest.java http/url.k
diffstat 2 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/SystemTest.java	Sun May 27 21:06:26 2012 +0900
+++ b/SystemTest.java	Sun May 27 21:08:36 2012 +0900
@@ -14,9 +14,7 @@
 	
 	public static void main(String[] argv) {
 		
-//		String[] cmd = {"/usr/local/bin/konoha","/Users/aotokage/testProgram/konoha/math.k"};
-//		String[] cmd = {"/usr/local/bin/konoha","math.k"};
-		String[] cmd = {"konoha","math.k"};
+		String[] cmd = {"/usr/local/bin/konoha","./test/math.k"};
 		Runtime run = Runtime.getRuntime();
 		try {
 			Process p = run.exec(cmd);
--- a/http/url.k	Sun May 27 21:06:26 2012 +0900
+++ b/http/url.k	Sun May 27 21:08:36 2012 +0900
@@ -60,7 +60,7 @@
 		out <<< this.method + " /" + this.uri + " HTTP/1.1" <<< EOL;
 		out <<<  "HOST: " + this.host <<< EOL;
 		for (String key : keys) {
-			out <<< key +": " + property[key] <<< EOL;
+		    out <<< key +": " + property[key] <<< EOL;
 		}
 		out <<< EOL;		
 		out <<< body <<< EOL;