win: Fix runing clipboard spec

This commit is contained in:
Cheng Zhao 2015-06-08 13:22:53 +08:00
parent 5ae9c633ca
commit 57ef6adbbd

View file

@ -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