diff options
| author | Ken Sheedlo | 2013-06-07 18:24:30 -0700 |
|---|---|---|
| committer | Igor Minar | 2013-06-17 13:29:30 -0700 |
| commit | 003861d2fdb37b83e1d0939d49b70fbc67766997 (patch) | |
| tree | dc53ff724097cc7485093bb43c2f3aa5f4377cb2 /test/ng/directive/selectSpec.js | |
| parent | 908071afbf32c46fe9110e4a67e104bbd4b3a56b (diff) | |
| download | angular.js-003861d2fdb37b83e1d0939d49b70fbc67766997.tar.bz2 | |
chore(minErr): replace ngError with minErr
Diffstat (limited to 'test/ng/directive/selectSpec.js')
| -rw-r--r-- | test/ng/directive/selectSpec.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/ng/directive/selectSpec.js b/test/ng/directive/selectSpec.js index 5a168f53..5be7eb65 100644 --- a/test/ng/directive/selectSpec.js +++ b/test/ng/directive/selectSpec.js @@ -493,9 +493,8 @@ describe('select', function() { it('should throw when not formated "? for ? in ?"', function() { expect(function() { - compile('<select ng-model="selected" ng-options="i dont parse"></select>'); - }).toThrowNg("ngOptions error! Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in" + - " _collection_' but got 'i dont parse'."); + compile('<select ng-model="selected" ng-options="i dont parse"></select>'); + }).toThrowMatching(/^\[ngOptions:iexp\] Expected expression in form of/); }); |
