null+****@clear*****
null+****@clear*****
2011年 11月 13日 (日) 16:23:01 JST
Kouhei Sutou 2011-11-13 07:23:01 +0000 (Sun, 13 Nov 2011) New Revision: e1bf7ada9c8a3014fe783c82946ce6f6e249ca1e Log: [test][gqtp] add error location. Modified files: test/unit/gqtp/test-cache.rb Modified: test/unit/gqtp/test-cache.rb (+3 -3) =================================================================== --- test/unit/gqtp/test-cache.rb 2011-11-13 07:07:05 +0000 (3123229) +++ test/unit/gqtp/test-cache.rb 2011-11-13 07:23:01 +0000 (2738e7c) @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # Copyright (C) 2010 Ryo Onodera <onode****@clear*****> -# Copyright (C) 2010 Kouhei Sutou <kou****@clear*****> +# Copyright (C) 2010-2011 Kouhei Sutou <kou****@clear*****> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -47,8 +47,8 @@ load --table Site COMMANDS expected= <<EXPECTED -[[-63,0.0,0.0,"Syntax error! (<)",[["yy_syntax_error","ecmascript.y",19]]],[]] -[[-63,0.0,0.0,"Syntax error! (<)",[["yy_syntax_error","ecmascript.y",19]]],[]] +[[-63,0.0,0.0,"Syntax error! (<)",[["yy_syntax_error","ecmascript.y",19,"(stdin)",1,"select --table Site --filter \"<\""]]],[]] +[[-63,0.0,0.0,"Syntax error! (<)",[["yy_syntax_error","ecmascript.y",19,"(stdin)",2,"select --table Site --filter \"<\""]]],[]] [[0,0.0,0.0],true] EXPECTED