Permalink
Browse files

SERVER-7186 Fixed unittest impacted by previous commit.

  • Loading branch information...
1 parent f7dcb90 commit 293764a638043a01879b7e4fe65c3210186a08a4 Alberto Lerner committed Oct 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/mongo/dbtests/updatetests.cpp
@@ -935,7 +935,7 @@ namespace UpdateTests {
ModSet modSet( mod );
auto_ptr<ModSetState> modSetState = modSet.prepare( obj );
modSetState->createNewFromMods();
- ASSERT_EQUALS( BSON( "$set" << BSON( "a" << BSON_ARRAY( 1 ) ) ),
+ ASSERT_EQUALS( BSON( "$set" << BSON( "a.0" << 1 ) ),
modSetState->getOpLogRewrite() );
}
};

0 comments on commit 293764a

Please sign in to comment.