| Index: mojo/public/js/tests/connection_unittest.js
|
| diff --git a/mojo/public/js/tests/connection_unittest.js b/mojo/public/js/tests/connection_unittest.js
|
| index feba87d789e65874b15fa79d2a0206a774da4901..857f0f4fe9b438dfe17c528f430e3195dfff56ba 100644
|
| --- a/mojo/public/js/tests/connection_unittest.js
|
| +++ b/mojo/public/js/tests/connection_unittest.js
|
| @@ -115,20 +115,6 @@ define([
|
| var promise = provider.echoString("hello").then(function(response) {
|
| expect(response.a).toBe("hello");
|
| return provider.echoStrings("hello", "world");
|
| - }).then(function(response) {
|
| - expect(response.a).toBe("hello");
|
| - expect(response.b).toBe("world");
|
| - // Mock a read failure, expect it to fail.
|
| - core.readMessage = function() {
|
| - return { result: core.RESULT_UNKNOWN };
|
| - };
|
| - return provider.echoString("goodbye");
|
| - }).then(function() {
|
| - throw Error("Expected echoString to fail.");
|
| - }, function(error) {
|
| - expect(error.message).toBe("Connection error: " + core.RESULT_UNKNOWN);
|
| -
|
| - return Promise.resolve();
|
| });
|
|
|
| return promise;
|
|
|