[Groonga-commit] groonga/gcs [master] Fix wrong function call for XML batches

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Dec 10 17:18:23 JST 2012


YUKI Hiroshi	2012-12-10 17:18:23 +0900 (Mon, 10 Dec 2012)

  New Revision: 4626474ddfe202c7d39d70c18bff8e6558404179
  https://github.com/groonga/gcs/commit/4626474ddfe202c7d39d70c18bff8e6558404179

  Log:
    Fix wrong function call for XML batches

  Modified files:
    test/batch-xml.test.js

  Modified: test/batch-xml.test.js (+2 -2)
===================================================================
--- test/batch-xml.test.js    2012-12-10 17:15:59 +0900 (51d767b)
+++ test/batch-xml.test.js    2012-12-10 17:18:23 +0900 (e2e9d96)
@@ -30,13 +30,13 @@ function sortBatches(batches) {
 suite('batch/xml', function() {
   test('add, multiple items, single values', function() {
     var jsonBatch = readJSONBatch(path.join(fixtures, 'add.sdf.json'));
-    var xmlBatch = readJSONBatch(path.join(fixtures, 'add.sdf.xml'));
+    var xmlBatch = readXMLBatch(path.join(fixtures, 'add.sdf.xml'));
     assert.deepEqual(xmlBatch, jsonBatch);
   });
 
   test('delete, single item', function() {
     var jsonBatch = readJSONBatch(path.join(fixtures, 'delete.sdf.json'));
-    var xmlBatch = readJSONBatch(path.join(fixtures, 'delete.sdf.xml'));
+    var xmlBatch = readXMLBatch(path.join(fixtures, 'delete.sdf.xml'));
     assert.deepEqual(xmlBatch, jsonBatch);
   });
 });
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index