From 19cd5c8881fce8b6f3f83d99fd90cd8858640ed0 Mon Sep 17 00:00:00 2001 From: Fabrice Marsaud Date: Fri, 27 Mar 2015 15:52:54 +0100 Subject: [PATCH] Minor renaming --- packages/xo-collection/test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/xo-collection/test.js b/packages/xo-collection/test.js index 71cf03352..9d003cdff 100644 --- a/packages/xo-collection/test.js +++ b/packages/xo-collection/test.js @@ -1,6 +1,6 @@ -import xoCollection from './collection'; +import Collection from './collection'; -var co = new xoCollection.Collection(); +var co = new Collection.Collection(); co.begin(); @@ -45,7 +45,7 @@ console.log(co.get('c')); console.log('====='); -var coa = new xoCollection.Collection(); +var coa = new Collection.Collection(); coa.insert('x', 999); coa.begin(); coa.insert('a', 100); @@ -53,7 +53,7 @@ coa.update('a', 150); coa.insert('b', 200); console.log('a', coa.get('a'), 'b', coa.get('b'), 'x', coa.get('x')); var log = coa.commit(); -var cob = new xoCollection.Collection(); +var cob = new Collection.Collection(); cob.replay(log); console.log('a', cob.get('a'), 'b', cob.get('b')); try {