فهرست منبع

Refs #990. Bug fix for one of the test cases in FirstAccumulator.

http://source.rd.rcg.local/trac/eagle6/changeset/1312/Eagle6_SVN
Spencer Rathbun 13 سال پیش
والد
کامیت
741433d83b
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      test/lib/pipeline/accumulators/FirstAccumulator.js

+ 1 - 0
test/lib/pipeline/accumulators/FirstAccumulator.js

@@ -61,6 +61,7 @@ module.exports = {
 			"The accumulator evaluates two documents and retains the value in the first": function two() {
 			"The accumulator evaluates two documents and retains the value in the first": function two() {
 				var acc = createAccumulator();
 				var acc = createAccumulator();
 				acc.evaluate({a:5});
 				acc.evaluate({a:5});
+				acc.evaluate({a:7});
 				assert.strictEqual(acc.getValue(), 5);
 				assert.strictEqual(acc.getValue(), 5);
 			},
 			},