diff --git a/tests/index.js b/tests/index.js
index <HASH>..<HASH> 100644
--- a/tests/index.js
+++ b/tests/index.js
@@ -46,7 +46,7 @@ function processFixture(assert, compareFunction, fixture, callback) {
     if (err) {
       return callback(err);
     }
-    assert.deepEqual(fixture.expectedResult, result, fixture.description);
+    assert.deepEqual(result, fixture.expectedResult, fixture.description);
     callback();
   });
 }
Swapped order of actual and expected result