Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed typos in the tests.

  • Loading branch information...
commit b52a6cb9b8eaa2c957010bc8d8b71923fb5bfc9e 1 parent 46a8c42
@agentzh agentzh authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 t/sanity.t
View
6 t/sanity.t
@@ -19,7 +19,7 @@ $ENV{TEST_NGINX_MYSQL_PORT} ||= 3306;
$ENV{TEST_NGINX_MYSQL_HOST} ||= '127.0.0.1';
$ENV{TEST_NGINX_MYSQL_PATH} ||= '/var/run/mysql/mysql.sock';
-log_level 'warn';
+#log_level 'warn';
no_long_string();
no_shuffle();
@@ -538,7 +538,7 @@ result: [{"id":2,"hah":null,"kah":null,"lah":null,"haha":null,"bah":null,"blah":
ngx.say("result: ", cjson.encode(res), ", err:", err)
res, err, errno, sqlstate =
- db:query("select * from cats order by id asc")
+ db:query("select * from foo order by id asc")
if not res then
ngx.say("bad result: ", err, ": ", errno, ": ", sqlstate, ".")
else
@@ -553,7 +553,7 @@ result: [{"id":2,"hah":null,"kah":null,"lah":null,"haha":null,"bah":null,"blah":
end
res, err, errno, sqlstate =
- db:query("select * from cats order by id asc")
+ db:query("select * from foo order by id asc")
if not res then
ngx.say("bad result: ", err, ": ", errno, ": ", sqlstate, ".")
else
Please sign in to comment.
Something went wrong with that request. Please try again.