null+****@clear*****
null+****@clear*****
2010年 7月 5日 (月) 17:26:58 JST
Kouhei Sutou 2010-07-05 08:26:58 +0000 (Mon, 05 Jul 2010)
New Revision: 8affeacfb43906a5c50fb15a0c8687121ffdee08
Log:
follow HTML output change in gqtp.
Modified files:
test/unit/gqtp/test-cache.rb
Modified: test/unit/gqtp/test-cache.rb (+7 -9)
===================================================================
--- test/unit/gqtp/test-cache.rb 2010-07-05 08:20:53 +0000 (3aa6500)
+++ test/unit/gqtp/test-cache.rb 2010-07-05 08:26:58 +0000 (0519a5e)
@@ -29,12 +29,11 @@ class CacheTest < Test::Unit::TestCase
def test_cache_with_illegal_select
assert_commands(<<EXPECTED, <<COMMANDS)
-[[0,0.0,0.0]]
-[[0,0.0,0.0]]
-[[0,0.0,0.0]]
-[[0,0.0,0.0]]
-[[0,0.0,0.0],1]
-[[0,0.0,0.0]]
+[true]
+[true]
+[true]
+[true]
+[1]
EXPECTED
table_create --name Site --flags TABLE_HASH_KEY --key_type ShortText
column_create --table Site --name title --flags COLUMN_SCALAR --type ShortText
@@ -47,9 +46,8 @@ load --table Site
COMMANDS
expected= <<EXPECTED
-[[-63,0.0,0.0,"Syntax error! (<)"]]
-[[-63,0.0,0.0,"Syntax error! (<)"]]
-[[0,0.0,0.0]]
+[]
+[]
EXPECTED
commands = <<COMMANDS