Permalink
Browse files

Update indentation

  • Loading branch information...
nvh committed Nov 2, 2016
1 parent 7c96f4e commit 64cf69509facc3286cf1f298b1bd0252c8176456
Showing with 11 additions and 11 deletions.
  1. +11 −11 test/tests/LayerStatesBackwardsTest.coffee
@@ -6,19 +6,19 @@ initialStateName = "default"
describe "LayerStates Backwards compatibility", ->
it "should still support layer.states.add", ->
layer = new Layer
layer.states.add
stateA: x: 200
stateB: scale: 0.5
assert.deepEqual layer.stateNames, [initialStateName, "stateA", "stateB"]
assert.deepEqual layer.states.stateA, x: 200
assert.deepEqual layer.states.stateB, scale: 0.5
layer = new Layer
layer.states.add
stateA: x: 200
stateB: scale: 0.5
assert.deepEqual layer.stateNames, [initialStateName, "stateA", "stateB"]
assert.deepEqual layer.states.stateA, x: 200
assert.deepEqual layer.states.stateB, scale: 0.5
it "should still support layer.states.add single", ->
layer = new Layer
layer.states.add("stateA", x: 200)
assert.deepEqual layer.stateNames, [initialStateName, "stateA"]
assert.deepEqual layer.states.stateA, x: 200
layer = new Layer
layer.states.add("stateA", x: 200)
assert.deepEqual layer.stateNames, [initialStateName, "stateA"]
assert.deepEqual layer.states.stateA, x: 200
it "should still support layer.states.remove", ->
layer = new Layer

0 comments on commit 64cf695

Please sign in to comment.