Permalink
Browse files

Test case style fixing

  • Loading branch information...
1 parent 64f4bef commit e2606478e22146470b12bdc70aef66abc266fe5d @calio committed Jul 25, 2012
Showing with 18 additions and 18 deletions.
  1. +18 −18 t/sanity.t
View
@@ -15,7 +15,7 @@ run_tests();
__DATA__
-=== TEST 1 :basic convertion
+=== TEST 1: basic convertion
--- config
location /foo {
set $src '你好';
@@ -30,7 +30,7 @@ GET /foo
-=== TEST 2 :more complex convertion
+=== TEST 2: more complex convertion
--- config
location /foo {
set $src '淘宝网 - 亚洲最大、最安全的网上交易平台,提供各类服饰、美容、家居、数码、话费/点卡充值… 2亿优质特价商品,同时提供担保交易(先收货后付款)、先行赔付、假一赔三、七天无理由退换货、数码免费维修等安全交易保障服务,让你全面安心享受网上购物乐趣!';
@@ -45,7 +45,7 @@ GET /foo
-=== TEST 3 :large iconv_buffer_size
+=== TEST 3: large iconv_buffer_size
--- config
location /foo {
set $src '你好';
@@ -61,7 +61,7 @@ GET /foo
-=== TEST 4 :iconv content filter
+=== TEST 4: iconv content filter
--- config
location /foo {
iconv_filter from=utf-8 to=GBK;
@@ -75,7 +75,7 @@ GET /foo
-=== TEST 5 :content in multi buf
+=== TEST 5: content in multi buf
--- config
location /foo {
iconv_filter from=utf-8 to=GBK;
@@ -96,7 +96,7 @@ GET /foo?a=你&b=好&c=世&d=界
-=== TEST 6 :content in multi buf
+=== TEST 6: content in multi buf
--- config
location /foo {
iconv_filter from=utf-8 to=GBK;
@@ -121,7 +121,7 @@ GET /foo?a=%e4&b=%bd&c=%a0&d=%e5&e=%a5&f=%bd
-=== TEST 7 :content in multi buf
+=== TEST 7: content in multi buf
--- config
location /foo {
iconv_filter from=utf-8 to=GBK;
@@ -147,7 +147,7 @@ GET /foo?a=%e4&b=%bd&c=%a0&d=%e5&e=%a5&f=%bd
-=== TEST 8 :some complex text
+=== TEST 8: some complex text
--- config
location /foo {
iconv_filter from=utf-8 to=gbk;
@@ -229,7 +229,7 @@ GET /foo
-=== TEST 10 :text that can't be converted, buffer size smaller than content
+=== TEST 10: text that can't be converted, buffer size smaller than content
--- config
location /foo {
iconv_filter from=utf-8 to=gbk;
@@ -244,7 +244,7 @@ GET /foo
-=== TEST 11 :text that can't be converted, buffer size smaller than content
+=== TEST 11: text that can't be converted, buffer size smaller than content
--- config
location /foo {
iconv_filter from=utf-8 to=gbk;
@@ -259,7 +259,7 @@ GET /foo
-=== TEST 12 :text that can't be converted, buffer size smaller than content
+=== TEST 12: text that can't be converted, buffer size smaller than content
--- config
location /foo {
iconv_filter from=utf-8 to=gbk;
@@ -274,7 +274,7 @@ GET /foo
-=== TEST 13 :text that can't be converted, buffer size equals content
+=== TEST 13: text that can't be converted, buffer size equals content
--- config
location /foo {
iconv_filter from=utf-8 to=gbk;
@@ -289,7 +289,7 @@ GET /foo
-=== TEST 14 :text that can't be converted, buffer size larger than content
+=== TEST 14: text that can't be converted, buffer size larger than content
--- config
location /foo {
iconv_filter from=utf-8 to=gbk;
@@ -304,7 +304,7 @@ GET /foo
-=== TEST 15 :iconv_filter used with proxy_pass
+=== TEST 15: iconv_filter used with proxy_pass
--- config
location /foo {
proxy_pass $scheme://127.0.0.1:$server_port/bar;
@@ -321,7 +321,7 @@ GET /foo
-=== TEST 16 :iconv content filter / HTTP 1.0
+=== TEST 16: iconv content filter / HTTP 1.0
--- config
location /foo {
iconv_filter from=utf-8 to=GBK;
@@ -335,7 +335,7 @@ GET /foo HTTP/1.0
-=== TEST 17 :iconv used together with proxy
+=== TEST 17: iconv used together with proxy
--- config
location /data.txt {
iconv_filter from=utf8 to=gbk;
@@ -354,7 +354,7 @@ GET /proxy
-=== TEST 18 :iconv_filter used with proxy_pass
+=== TEST 18: iconv_filter used with proxy_pass
--- config
location /foo {
proxy_pass $scheme://127.0.0.1:$server_port/bar;
@@ -371,7 +371,7 @@ GET /foo
-=== TEST 19 :iconv_filter used with proxy_pass
+=== TEST 19: iconv_filter used with proxy_pass
--- config
location /main {
content_by_lua '

0 comments on commit e260647

Please sign in to comment.