mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-13 08:56:40 +08: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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user