diff --git a/spec/api-clipboard-spec.js b/spec/api-clipboard-spec.js index 3915b550e..5116bd80c 100644 --- a/spec/api-clipboard-spec.js +++ b/spec/api-clipboard-spec.js @@ -46,7 +46,13 @@ describe('clipboard module', function () { clipboard.writeBookmark('a title', 'http://electron.atom.io') assert.deepEqual(clipboard.readBookmark(), { title: 'a title', - url: 'https://electron.atom.io' + url: 'http://electron.atom.io' + }) + + clipboard.writeText('no bookmark') + assert.deepEqual(clipboard.readBookmark(), { + title: '', + url: '' }) }) })