// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
function listener(data) {
- chrome.test.fail('Event should not have been received.');
+ chrome.test.sendMessage('Event should not have been received.');
}
chrome.bluetoothLowEnergy.onServiceChanged.addListener(listener);