<!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">SHIMODA Hiroshi &lt;shimo****@clear*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2012-08-14 18:44:33 +0900 (Tue, 14 Aug 2012)</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/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966">ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966</a></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Log</dt>
      <dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; padding: 0.5em">Don't compare null with object</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/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#diff-0">test/database-domain.test.js</a></li>
          <li><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#diff-1">test/database-index-field.test.js</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, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: test/database-domain.test.js (+10 -5)</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, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0L257">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0L258">258</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0L259">259</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0L260">260</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0L261">261</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0L262">262</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0L263">263</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0L264">264</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0L268">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0L269">269</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0L270">270</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0L271">271</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0L272">272</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0L273">273</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0L274">274</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0L275">275</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0L278">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0L279">279</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0L280">280</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0L281">281</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0L282">282</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0L283">283</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0L284">284</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0L285">285</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0L286">286</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0L287">287</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0L289">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0L290">290</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0L291">291</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0L292">292</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0L293">293</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0L294">294</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0L295">295</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0L296">296</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R257">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R258">258</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R259">259</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R260">260</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R261">261</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R262">262</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R263">263</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R264">264</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R265">265</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R269">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R270">270</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R271">271</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R272">272</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R273">273</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R274">274</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R275">275</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R276">276</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R277">277</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R280">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R281">281</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R282">282</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R283">283</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R284">284</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R285">285</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R286">286</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R287">287</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R288">288</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R289">289</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R290">290</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R291">291</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R293">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R294">294</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R295">295</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R296">296</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R297">297</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R298">298</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R299">299</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R300">300</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L0R301">301</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -258,7 +258,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">suite('database', function() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">     });</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre">     test('setting default search field (instance)', function() {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-      assert.equal(domain.defaultSearchField, null);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      assert.isTrue(domain.defaultSearchField === null,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+                    domain.defaultSearchField);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       var nameField = domain.getIndexField('name');</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       domain.defaultSearchField = nameField;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       assert.equal(domain.defaultSearchField, nameField);</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -269,7 +270,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">suite('database', function() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">     });</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre">     test('setting default search field (text)', function() {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-      assert.equal(domain.defaultSearchField, null);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      assert.isTrue(domain.defaultSearchField === null,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+                    domain.defaultSearchField);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       domain.defaultSearchField = 'name';</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       assert.equal(domain.defaultSearchField, domain.getIndexField('name'));</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">@@ -279,9 +281,11 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">suite('database', function() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">     });</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre">     test('setting default search field (unknown field)', function() {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-      assert.equal(domain.defaultSearchField, null);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      assert.isTrue(domain.defaultSearchField === null,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+                    domain.defaultSearchField);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       domain.defaultSearchField = 'unknown';</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-      assert.equal(domain.defaultSearchField, null);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      assert.isTrue(domain.defaultSearchField === null,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+                    domain.defaultSearchField);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     });</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre">     test('removing default search field', function() {</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -290,7 +294,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">suite('database', function() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">       assert.equal(domain.defaultSearchField, nameField);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre">       domain.defaultSearchField = null;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-      assert.equal(domain.defaultSearchField, null);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      assert.isTrue(domain.defaultSearchField === null,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+                    domain.defaultSearchField);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre">       var anotherDomainInstance = new Domain('companies', context);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       assert.equal(anotherDomainInstance.defaultSearchField, null);</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
      <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, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: test/database-index-field.test.js (+4 -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, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L1L301">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L1L302">302</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L1L303">303</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L1L304">304</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L1L305">305</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L1L306">306</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L1L307">307</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L1L308">308</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L1L313">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L1L314">314</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L1L315">315</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L1L316">316</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L1L317">317</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L1L318">318</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L1L319">319</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L1L320">320</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L1R301">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L1R302">302</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L1R303">303</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L1R304">304</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L1R305">305</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L1R306">306</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L1R307">307</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L1R308">308</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L1R309">309</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L1R314">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L1R315">315</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L1R316">316</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L1R317">317</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L1R318">318</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L1R319">319</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L1R320">320</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L1R321">321</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/ffc37d6a85c00f3ff81605bb9035dcbdf3ffa966#L1R322">322</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -302,7 +302,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">suite('database', function() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre">         field.defaultSearchField = true;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         field.saveOptionsSync();</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-        assert.equal(domain.defaultSearchField, null);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+        assert.isTrue(domain.defaultSearchField === null,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+                      domain.defaultSearchField);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       });</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre">       test('auto-remove default search field', function() {</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -314,7 +315,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">suite('database', function() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">                      domain.getIndexField('product'));</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre">         field.deleteSync();</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-        assert.equal(domain.defaultSearchField, null);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+        assert.isTrue(domain.defaultSearchField === null,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+                      domain.defaultSearchField);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       });</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     });</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>