浏览代码

Remove debugger line

Jason Walton 11 年之前
父节点
当前提交
194b962cdc
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2 3
      test/lib/pipeline/Pipeline.js

+ 2 - 3
test/lib/pipeline/Pipeline.js

@@ -188,16 +188,15 @@ module.exports = {
 			"should catch parse errors": function () {
 				// The $foo part is invalid and causes a throw.
 				assert.throws(function () {
-					debugger
 					Pipeline.parseCommand({pipeline: [
-						{$foo: {bar: "baz"}}//} {$match: {$foo: {bar: "baz"}}}
+						{$foo: {bar: "baz"}}
 					]});
 				});
 			},
 
 			"should call callback with errors from pipeline components": function (next) {
 				var p = Pipeline.parseCommand({pipeline: [
-					{$match: {foo: {bar: "baz"}}}
+					{$foo: {bar: "baz"}}
 				]});
 				p.run(new DocumentSource({}), function (err, results) {
 					assert(err instanceof Error);