| Index: chrome/test/data/extensions/api_test/bluetooth_low_energy/read_descriptor_value/runtest.js
|
| diff --git a/chrome/test/data/extensions/api_test/bluetooth_low_energy/read_descriptor_value/runtest.js b/chrome/test/data/extensions/api_test/bluetooth_low_energy/read_descriptor_value/runtest.js
|
| index e7693a96ae9fdf73eba67784d0d48c62f885a8fd..c813b797c3fdc0348d5e7419a1655a577475ca64 100644
|
| --- a/chrome/test/data/extensions/api_test/bluetooth_low_energy/read_descriptor_value/runtest.js
|
| +++ b/chrome/test/data/extensions/api_test/bluetooth_low_energy/read_descriptor_value/runtest.js
|
| @@ -18,19 +18,19 @@ var descriptor = null;
|
| // 1. Unknown descriptor instanceId.
|
| readDescriptorValue(badDescId, function (result) {
|
| if (result || !chrome.runtime.lastError) {
|
| - chrome.test.fail('\'badDescId\' did not cause failure');
|
| + chrome.test.sendMessage('\'badDescId\' did not cause failure');
|
| }
|
|
|
| // 2. Known descriptor instanceId, but call failure.
|
| readDescriptorValue(descId, function (result) {
|
| if (result || !chrome.runtime.lastError) {
|
| - chrome.test.fail('readDescriptorValue should have failed');
|
| + chrome.test.sendMessage('readDescriptorValue should have failed');
|
| }
|
|
|
| // 3. Call should succeed.
|
| readDescriptorValue(descId, function (result) {
|
| if (chrome.runtime.lastError) {
|
| - chrome.test.fail(chrome.runtime.lastError.message);
|
| + chrome.test.sendMessage(chrome.runtime.lastError.message);
|
| }
|
|
|
| descriptor = result;
|
|
|