Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: third_party/pkg/angular/test/formatter/filter_spec.dart

Issue 257423008: Update all Angular libs (run update_all.sh). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/pkg/angular/test/formatter/filter_spec.dart
diff --git a/third_party/pkg/angular/test/filter/filter_spec.dart b/third_party/pkg/angular/test/formatter/filter_spec.dart
similarity index 95%
rename from third_party/pkg/angular/test/filter/filter_spec.dart
rename to third_party/pkg/angular/test/formatter/filter_spec.dart
index df438e7a7e990b9661951a00ca43da85f273c62d..47acd9800ccf680f08c95c25bc7f6504bd6ed330 100644
--- a/third_party/pkg/angular/test/filter/filter_spec.dart
+++ b/third_party/pkg/angular/test/formatter/filter_spec.dart
@@ -33,14 +33,14 @@ class DynamicObject {
main() {
D([Map init]) => new DynamicObject(init);
- describe('filter filter', () {
+ describe('filter formatter', () {
var filter;
- beforeEach(() => inject((Injector injector, FilterMap filterMap) {
- filter = injector.get(filterMap[new NgFilter(name: 'filter')]);
- }));
+ beforeEach((Injector injector, FormatterMap filterMap) {
+ filter = injector.get(filterMap[new Formatter(name: 'filter')]);
+ });
- it('should filter by string', () {
+ it('should formatter by string', () {
List items = ['MIsKO',
{'name': 'shyam'},
['adam'],
@@ -68,7 +68,7 @@ main() {
expect(filter.call(items, "I don't exist").length).toBe(0);
});
- it('should filter bool items', () {
+ it('should formatter bool items', () {
List items = ['truefalse', true, false, null];
// true
expect(filter.call(items, true)).toEqual([true]);
@@ -88,7 +88,7 @@ main() {
expect(filter(items, 'misko').length).toBe(0);
});
- it('should filter on specific property', () {
+ it('should formatter on specific property', () {
List items = [{'name': 'a', 'ignore': 'a'},
{'name': 'abc', 'ignore': 'a'},
D({'name': 'abd'})];
« no previous file with comments | « third_party/pkg/angular/test/formatter/date_spec.dart ('k') | third_party/pkg/angular/test/formatter/json_spec.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698