diff options
| author | Igor Minar | 2013-08-12 14:43:16 -0700 | 
|---|---|---|
| committer | Igor Minar | 2013-08-12 14:43:24 -0700 | 
| commit | d69cd7d9ca124baea2c116b7db28468f60ad7fea (patch) | |
| tree | 175fa44c283611f42288b223da55d02bbc2f0292 /test | |
| parent | ca92b6528af776e6543f14aac7e5cd7e7aa652fc (diff) | |
| download | angular.js-d69cd7d9ca124baea2c116b7db28468f60ad7fea.tar.bz2 | |
test($location): fix broken tests
sorry, my bad!
Diffstat (limited to 'test')
| -rw-r--r-- | test/ng/locationSpec.js | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/test/ng/locationSpec.js b/test/ng/locationSpec.js index e473a155..a07b516b 100644 --- a/test/ng/locationSpec.js +++ b/test/ng/locationSpec.js @@ -219,7 +219,7 @@ describe('$location', function() {        expect(function() {          url.$$parse('http://other.server.org/path#/path'); -      }).toThrow('[$location:nopp] Invalid url "http://other.server.org/path#/path", missing path prefix "http://server.org/base/".'); +      }).toThrow('[$location:ipthprfx] Invalid url "http://other.server.org/path#/path", missing path prefix "http://server.org/base/".');      }); @@ -228,7 +228,7 @@ describe('$location', function() {        expect(function() {          url.$$parse('http://server.org/path#/path'); -      }).toThrow('[$location:nopp] Invalid url "http://server.org/path#/path", missing path prefix "http://server.org/base/".'); +      }).toThrow('[$location:ipthprfx] Invalid url "http://server.org/path#/path", missing path prefix "http://server.org/base/".');      }); | 
