Kouhei Sutou
null+****@clear*****
Mon Jul 21 15:47:03 JST 2014
Kouhei Sutou 2014-07-21 15:47:03 +0900 (Mon, 21 Jul 2014) New Revision: 76827496023c3a85ddbaaa1501d34734de73bd34 https://github.com/groonga/groonga/commit/76827496023c3a85ddbaaa1501d34734de73bd34 Message: test: follow uvector inspect change Modified files: test/unit/core/test-inspect.c Modified: test/unit/core/test-inspect.c (+7 -6) =================================================================== --- test/unit/core/test-inspect.c 2014-07-21 15:47:03 +0900 (7c3f461) +++ test/unit/core/test-inspect.c 2014-07-21 15:47:03 +0900 (848db58) @@ -1,6 +1,6 @@ /* -*- c-basic-offset: 2; coding: utf-8 -*- */ /* - Copyright (C) 2010-2013 Kouhei Sutou <kou �� clear-code.com> + Copyright (C) 2010-2014 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 @@ -584,11 +584,12 @@ test_uvector_with_records(void) GRN_RECORD_PUT(context, uvector, 1); GRN_RECORD_PUT(context, uvector, 2); inspected = grn_inspect(context, NULL, uvector); - cut_assert_equal_string("[" - "#<record:pat:Sites id:1 key:\"groonga.org\">, " - "#<record:pat:Sites id:2 key:\"razil.jp\">" - "]", - inspected_string()); + cut_assert_equal_string( + "[" + "#<element record:#<record:pat:Sites id:1 key:\"groonga.org\">, weight:0>, " + "#<element record:#<record:pat:Sites id:2 key:\"razil.jp\", weight:0>>" + "]", + inspected_string()); } void -------------- next part -------------- HTML����������������������������...Download