atom.getVersion returns plain string, not string object.

This commit is contained in:
Cheng Zhao 2013-05-25 00:19:50 +08:00
parent 0fa5ca3782
commit e430002951

View File

@ -280,7 +280,7 @@ describe "the `atom` global", ->
describe ".getVersion", ->
it "returns the current version number", ->
expect(atom.getVersion()).toBeInstanceOf String
expect(typeof atom.getVersion()).toBe 'string'
xdescribe "modal native dialogs", ->
beforeEach ->