From 9f2188b5da4e2b55857bd1548833e0f36077d357 Mon Sep 17 00:00:00 2001 From: Nick Martin Date: Tue, 8 Oct 2013 00:42:52 -0700 Subject: [PATCH] Not sure why, but opera is better now (including old versions). I guess one of the minimongo changes caused the ordering to be different. --- packages/minimongo/minimongo_tests.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/minimongo/minimongo_tests.js b/packages/minimongo/minimongo_tests.js index 34df9dba0b..d446156113 100644 --- a/packages/minimongo/minimongo_tests.js +++ b/packages/minimongo/minimongo_tests.js @@ -1678,11 +1678,8 @@ Tinytest.add("minimongo - modify", function (test) { modify({a: {b: 12}}, {$rename: {'a.b': 'x'}}, {a: {}, x: 12}); // tested modify({a: {b: 12}}, {$rename: {'a.b': 'q.r'}}, {a: {}, q: {r: 12}}); modify({a: {b: 12}}, {$rename: {'a.b': 'q.2.r'}}, {a: {}, q: {2: {r: 12}}}); - // Opera weirdly reorders the output. But what it does tends to be close - // enough. modify({a: {b: 12}, q: {}}, {$rename: {'a.b': 'q.2.r'}}, - (typeof opera === 'undefined' ? {a: {}, q: {2: {r: 12}}} - : {q: {2: {r: 12}}, a: {}})); + {a: {}, q: {2: {r: 12}}}); exception({a: {b: 12}, q: []}, {$rename: {'a.b': 'q.2'}}); // tested exception({a: {b: 12}, q: []}, {$rename: {'a.b': 'q.2.r'}}); // tested test.expect_fail();