<!DOCTYPE html>
<html>
<head>
</head>
<body>
<dl style="line-height: 1.5; margin-left: 2em">
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
<dd style="margin-left: 8.5em">Kouhei Sutou <kou****@clear*****></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2017-10-25 15:13:41 +0900 (Wed, 25 Oct 2017)</dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
<dd style="margin-left: 8.5em"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c">cafa4434f4852da287a223d9f46a8d0f42c1986c</a></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Message</dt>
<dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">test: use more meaningful assertion</pre></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
<dd style="margin-left: 8.5em">
<ul>
<li><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67">test/response/test-column-list.rb</a></li>
</ul>
</dd>
</dl>
<div class="diff-section" style="clear: both">
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: test/response/test-column-list.rb (+20 -2)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67L19">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67L20">20</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67L21">21</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67L22">22</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67L23">23</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67L24">24</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67L25">25</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67L26">26</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67L46">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67L47">47</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67L48">48</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67L49">49</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67L50">50</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67L51">51</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67L52">52</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67L53">53</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67R19">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67R20">20</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67R21">21</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67R22">22</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67R23">23</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67R24">24</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67R25">25</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67R26">26</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67R27">27</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67R28">28</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67R29">29</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67R30">30</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67R31">31</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67R32">32</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67R33">33</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67R34">34</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67R54">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67R55">55</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67R56">56</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67R57">57</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67R58">58</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67R59">59</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67R60">60</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67R61">61</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67R62">62</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67R63">63</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67R64">64</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67R65">65</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67R66">66</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67R67">67</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67R68">68</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67R69">69</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67R70">70</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/cafa4434f4852da287a223d9f46a8d0f42c1986c#diff-9ebac3582e741ff82ae9bdd9a7fc0c67R71">71</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -20,7 +20,15 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">require "response/helper"</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> class TestResponseColumnList < Test::Unit::TestCase</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> include TestResponseHelper</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- def test_column_list</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ def column(attributes)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ c = Groonga::Client::Response::ColumnList::Column.new</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ attributes.each do |name, value|</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ c[name] = value</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ end</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ c</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ end</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ def test_parse</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> header = [0, 1372430096.70991, 0.000522851943969727]</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> body = [</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> [</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -47,7 +55,17 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">class TestResponseColumnList < Test::Unit::TestCase</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> raw_response = [header, body].to_json</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> response = parse_raw_response("column_list", raw_response)</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- assert_equal(Groonga::Client::Response::ColumnList, response.class)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ assert_equal([</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ column(:id => 256,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ :name => "Text",</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ :path => "/tmp/test.db.0000100",</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ :type => "var",</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ :flags => "COLUMN_SCALAR|PERSISTENT",</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ :domain => "TestTable",</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ :range => "ShortText",</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ :source => []),</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ ],</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ response.to_a)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>