mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
docs(interpolate): remove example e2e test that cannot run
We can't create modules in docs e2e tests as the injector has already been created.
This commit is contained in:
parent
3570005067
commit
1bc99eca08
1 changed files with 0 additions and 14 deletions
|
|
@ -27,20 +27,6 @@ var $interpolateMinErr = minErr('$interpolate');
|
|||
//label//
|
||||
</div>
|
||||
</doc:source>
|
||||
<doc:scenario>
|
||||
describe('provider', function() {
|
||||
beforeEach(module(function($interpolateProvider) {
|
||||
$interpolateProvider.startSymbol('//');
|
||||
$interpolateProvider.endSymbol('//');
|
||||
}));
|
||||
|
||||
it('should not get confused with same markers', inject(function($interpolate) {
|
||||
expect($interpolate('///').parts).toEqual(['///']);
|
||||
expect($interpolate('////')()).toEqual('');
|
||||
expect($interpolate('//1//')()).toEqual('1');
|
||||
}));
|
||||
});
|
||||
</doc:scenario>
|
||||
</doc:example>
|
||||
*/
|
||||
function $InterpolateProvider() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue