aboutsummaryrefslogtreecommitdiffstats
path: root/test/service/scopeSpec.js
diff options
context:
space:
mode:
authorIgor Minar2011-11-29 16:54:25 -0500
committerIgor Minar2011-11-30 14:49:35 -0500
commitb00da987a9e0e4378d8252add8e15ad2e508901d (patch)
tree568629de5e9200075d9b138773c3ec4c2f562c2f /test/service/scopeSpec.js
parent188bdf7768c9594a01a18abae3fa9a3114802508 (diff)
downloadangular.js-b00da987a9e0e4378d8252add8e15ad2e508901d.tar.bz2
scope($digest): add new&old val to the infinite $digest log
Diffstat (limited to 'test/service/scopeSpec.js')
-rw-r--r--test/service/scopeSpec.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/service/scopeSpec.js b/test/service/scopeSpec.js
index 6e8d78ff..47c5f889 100644
--- a/test/service/scopeSpec.js
+++ b/test/service/scopeSpec.js
@@ -216,7 +216,11 @@ describe('Scope', function() {
$rootScope.$digest();
}).toThrow('100 $digest() iterations reached. Aborting!\n'+
'Watchers fired in the last 5 iterations: ' +
- '[["a","b"],["a","b"],["a","b"],["a","b"],["a","b"]]');
+ '[["a; newVal: 96; oldVal: 95","b; newVal: 97; oldVal: 96"],' +
+ '["a; newVal: 97; oldVal: 96","b; newVal: 98; oldVal: 97"],' +
+ '["a; newVal: 98; oldVal: 97","b; newVal: 99; oldVal: 98"],' +
+ '["a; newVal: 99; oldVal: 98","b; newVal: 100; oldVal: 99"],' +
+ '["a; newVal: 100; oldVal: 99","b; newVal: 101; oldVal: 100"]]');
}));