Fix js linting error

This commit is contained in:
Cheng Zhao 2016-09-08 14:56:24 +09:00
parent a510642a25
commit 18fd3e0329

View file

@ -783,8 +783,7 @@ describe('<webview> tag', function () {
let requestId = null
let activeMatchOrdinal = []
const listener = function (e) {
if (!e.result.finalUpdate)
return
if (!e.result.finalUpdate) return
assert.equal(e.result.requestId, requestId)
assert.equal(e.result.matches, 3)
activeMatchOrdinal.push(e.result.activeMatchOrdinal)