Kouhei Sutou
null+****@clear*****
Mon Aug 17 16:20:42 JST 2015
Kouhei Sutou 2015-08-17 16:20:42 +0900 (Mon, 17 Aug 2015) New Revision: 5ceefea264503603fb73109c49d85633ffeb9eaa https://github.com/groonga/groonga/commit/5ceefea264503603fb73109c49d85633ffeb9eaa Message: test: follow API change grn_table_select() returns NULL on error. Modified files: test/unit/core/test-expr-script.c Modified: test/unit/core/test-expr-script.c (+4 -2) =================================================================== --- test/unit/core/test-expr-script.c 2015-08-17 15:59:43 +0900 (df7e633) +++ test/unit/core/test-expr-script.c 2015-08-17 16:20:42 +0900 (fe196a3) @@ -1,5 +1,7 @@ /* -*- c-basic-offset: 2; coding: utf-8 -*- */ -/* Copyright(C) 2009 Brazil +/* + Copyright(C) 2009 Brazil + Copyright(C) 2015 Kouhei Sutou <kou �� clear-code.com> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -1330,7 +1332,7 @@ test_arithmetic_operator_error(gconstpointer data) GRN_EXPR_SYNTAX_SCRIPT | GRN_EXPR_ALLOW_UPDATE); res = grn_table_select(&context, docs, expr, NULL, GRN_OP_OR); - cut_assert_not_null(res); + cut_assert_null(res); grn_test_assert_error(gcut_data_get_uint(data, "rc"), gcut_data_get_string(data, "message"), &context); -------------- next part -------------- HTML����������������������������...Download