浏览代码

EAGLESIX-3082: Fixed the test case for SEE_NEXT.

Scott Munday 11 年之前
父节点
当前提交
661459138c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/lib/pipeline/documentSources/SkipDocumentSource.js

+ 1 - 1
test/lib/pipeline/documentSources/SkipDocumentSource.js

@@ -197,7 +197,7 @@ module.exports = {
 			'should return 1 (GET_NEXT)': function () {
 			'should return 1 (GET_NEXT)': function () {
 				var sds = new SkipDocumentSource();
 				var sds = new SkipDocumentSource();
 
 
-				assert.strictEqual(sds.getDependencies(), 1); // Hackish. We may be getting an enum in somewhere.
+				assert.strictEqual(sds.getDependencies(), DocumentSource.GetDepsReturn.SEE_NEXT); // Hackish. We may be getting an enum in somewhere.
 			}
 			}
 		},
 		},