Index: chrome/test/data/extensions/api_test/bluetooth_low_energy/write_descriptor_value/runtest.js |
diff --git a/chrome/test/data/extensions/api_test/bluetooth_low_energy/write_descriptor_value/runtest.js b/chrome/test/data/extensions/api_test/bluetooth_low_energy/write_descriptor_value/runtest.js |
index ca687b10d375ec87d3c01bfb338a91379985ce0c..d2484cc172808fed0913d2082020bcf913e77108 100644 |
--- a/chrome/test/data/extensions/api_test/bluetooth_low_energy/write_descriptor_value/runtest.js |
+++ b/chrome/test/data/extensions/api_test/bluetooth_low_energy/write_descriptor_value/runtest.js |
@@ -30,19 +30,19 @@ valueBytes.set(bytes); |
// 1. Unknown descriptor instanceId. |
writeDescriptorValue(badDescId, writeValue, 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. |
writeDescriptorValue(descId, writeValue, function (result) { |
if (result || !chrome.runtime.lastError) { |
- chrome.test.fail('writeDescriptorValue should have failed'); |
+ chrome.test.sendMessage('writeDescriptorValue should have failed'); |
} |
// 3. Call should succeed. |
writeDescriptorValue(descId, writeValue, function (result) { |
if (chrome.runtime.lastError) { |
- chrome.test.fail(chrome.runtime.lastError.message); |
+ chrome.test.sendMessage(chrome.runtime.lastError.message); |
} |
chrome.bluetoothLowEnergy.getDescriptor(descId, function (result) { |