summaryrefslogtreecommitdiff
path: root/jstests/error4.js
blob: deb2eb2f90abdcdfcf22fcbbc278d1f996be11d3 (plain)
1
2
3
4
5
6
7

t = db.error4;
t.drop()
t.insert( { _id : 1 } )
t.insert( { _id : 1 } )
assert.eq( 11000 , db.getLastErrorCmd().code , "A" )