Update for reviews

This commit is contained in:
Cheng Zhao 2016-07-02 10:36:11 +09:00
parent b47d0e3e58
commit 767124c45c
5 changed files with 6 additions and 6 deletions

View file

@ -287,7 +287,7 @@ describe('app module', function () {
describe('app.setBadgeCount API', function () {
const shouldFail = process.platform === 'win32' ||
(process.platform === 'linux' && app.isUnityRunning())
(process.platform === 'linux' && !app.isUnityRunning())
it('returns false when failed', function () {
assert.equal(app.setBadgeCount(42), !shouldFail)