mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-04-14 22:29:28 +08:00
10 lines
313 B
CoffeeScript
10 lines
313 B
CoffeeScript
assert = require 'assert'
|
|
clipboard = require 'clipboard'
|
|
|
|
describe 'clipboard module', ->
|
|
describe 'clipboard.readText()', ->
|
|
it 'returns unicode string correctly', ->
|
|
text = '千江有水千江月,万里无云万里天'
|
|
clipboard.writeText text
|
|
assert.equal clipboard.readText(), text
|