[Groonga-commit] groonga/gcs [master] Fix inverted assertion

Back to archive index

null+****@clear***** null+****@clear*****
2012年 8月 2日 (木) 13:57:56 JST


SHIMODA Hiroshi	2012-08-02 13:57:56 +0900 (Thu, 02 Aug 2012)

  New Revision: 37721c1d69a60522c076e2a9012866f59fbb74a4
  https://github.com/groonga/gcs/commit/37721c1d69a60522c076e2a9012866f59fbb74a4

  Log:
    Fix inverted assertion

  Modified files:
    test/database-index-field.test.js

  Modified: test/database-index-field.test.js (+1 -1)
===================================================================
--- test/database-index-field.test.js    2012-08-02 13:56:16 +0900 (9a68bd8)
+++ test/database-index-field.test.js    2012-08-02 13:57:56 +0900 (7a28787)
@@ -162,7 +162,7 @@ suite('database', function() {
 
       test('exists, for non-existing field', function() {
         var field = new IndexField('unknown', domain);
-        assert.isTrue(field.exists());
+        assert.isFalse(field.exists());
       });
 
       test('type detection (text)', function() {
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
下載 



Groonga-commit メーリングリストの案内
Back to archive index