Quellcode durchsuchen

EAGLESIX-3082: Fixed the test case for SEE_NEXT.

Scott Munday vor 11 Jahren
Ursprung
Commit
661459138c
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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 () {
 				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.
 			}
 		},