aboutsummaryrefslogtreecommitdiffstats
path: root/test/ng/interpolateSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/ng/interpolateSpec.js')
-rw-r--r--test/ng/interpolateSpec.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/ng/interpolateSpec.js b/test/ng/interpolateSpec.js
index 88e4ae75..20214445 100644
--- a/test/ng/interpolateSpec.js
+++ b/test/ng/interpolateSpec.js
@@ -113,6 +113,11 @@ describe('$interpolate', function() {
}));
+ it('should expose the startSymbol in run phase', inject(function($interpolate) {
+ expect($interpolate.startSymbol()).toBe('((');
+ }));
+
+
it('should not get confused by matching start and end symbols', function() {
module(function($interpolateProvider) {
$interpolateProvider.startSymbol('--');
@@ -139,5 +144,10 @@ describe('$interpolate', function() {
it('should expose the endSymbol in config phase', module(function($interpolateProvider) {
expect($interpolateProvider.endSymbol()).toBe('))');
}));
+
+
+ it('should expose the endSymbol in run phase', inject(function($interpolate) {
+ expect($interpolate.endSymbol()).toBe('))');
+ }));
});
});