mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
fixing broken specs
This commit is contained in:
@@ -95,14 +95,14 @@ describe "SelectList", ->
|
||||
|
||||
miniEditor.trigger 'core:move-down'
|
||||
miniEditor.trigger 'core:move-down'
|
||||
expect(list.scrollBottom()).toBe itemHeight * 3
|
||||
expect(list.scrollBottom()).toBe itemHeight * 2
|
||||
|
||||
miniEditor.trigger 'core:move-down'
|
||||
expect(list.scrollBottom()).toBe itemHeight * 4
|
||||
expect(list.scrollBottom()).toBe itemHeight * 2
|
||||
|
||||
miniEditor.trigger 'core:move-up'
|
||||
miniEditor.trigger 'core:move-up'
|
||||
expect(list.scrollBottom()).toBe itemHeight * 3
|
||||
expect(list.scrollBottom()).toBe itemHeight * 2
|
||||
|
||||
describe "the core:confirm event", ->
|
||||
describe "when there is an item selected (because the list in not empty)", ->
|
||||
|
||||
@@ -21,7 +21,7 @@ describe "TextMateTheme", ->
|
||||
|
||||
it "returns rulesets representing the theme's global style settings", ->
|
||||
expect(rulesets[0]).toEqual
|
||||
selector: '.editor'
|
||||
selector: '.editor, .editor .gutter'
|
||||
properties:
|
||||
'background-color': '#141414'
|
||||
'color': '#F8F8F8'
|
||||
@@ -37,7 +37,7 @@ describe "TextMateTheme", ->
|
||||
'background-color': "rgba(221, 240, 255, 0.2)"
|
||||
|
||||
it "returns an array of objects representing the theme's scope selectors", ->
|
||||
expect(rulesets[11]).toEqual
|
||||
expect(rulesets[12]).toEqual
|
||||
comment: "Invalid – Deprecated"
|
||||
selector: ".invalid.deprecated"
|
||||
properties:
|
||||
@@ -45,7 +45,7 @@ describe "TextMateTheme", ->
|
||||
# 'font-style': 'italic'
|
||||
'text-decoration': 'underline'
|
||||
|
||||
expect(rulesets[12]).toEqual
|
||||
expect(rulesets[13]).toEqual
|
||||
comment: "Invalid – Illegal"
|
||||
selector: ".invalid.illegal"
|
||||
properties:
|
||||
|
||||
Reference in New Issue
Block a user