win: Fix runing clipboard spec
This commit is contained in:
parent
5ae9c633ca
commit
57ef6adbbd
1 changed files with 3 additions and 1 deletions
|
@ -25,8 +25,10 @@ describe 'clipboard module', ->
|
|||
markup =
|
||||
if process.platform is 'darwin'
|
||||
'<meta charset=\'utf-8\'><string>Hi</string>'
|
||||
else
|
||||
else if process.platform is 'linux'
|
||||
'<meta http-equiv="content-type" ' +
|
||||
'content="text/html; charset=utf-8"><string>Hi</string>'
|
||||
else
|
||||
'<string>Hi</string>'
|
||||
clipboard.writeHtml text
|
||||
assert.equal clipboard.readHtml(), markup
|
||||
|
|
Loading…
Reference in a new issue