Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Removed unnecessary semicolons from AboutObjects.coffee

  • Loading branch information...
commit b1f9b13cfe163e3497c255e9aba70049fbd3de64 1 parent 4bfc12a
Mindaugas Mozūras authored August 28, 2011

Showing 1 changed file with 8 additions and 8 deletions. Show diff stats Hide diff stats

  1. 16  koans/AboutObjects.coffee
16  koans/AboutObjects.coffee
@@ -7,8 +7,8 @@ describe 'About Objects', ->
7 7
       expect(meglomaniac.mastermind).toBe(FILL_ME_IN)
8 8
 
9 9
     it 'should confirm that properties are case sensitive', ->
10  
-      expect(meglomaniac.henchwoman).toBe(FILL_ME_IN);
11  
-      expect(meglomaniac.henchWoman).toBe(FILL_ME_IN);
  10
+      expect(meglomaniac.henchwoman).toBe(FILL_ME_IN)
  11
+      expect(meglomaniac.henchWoman).toBe(FILL_ME_IN)
12 12
   # end Properties section
13 13
 
14 14
   it 'should know properties that are functions act like methods', ->
@@ -25,15 +25,15 @@ describe 'About Objects', ->
25 25
 
26 26
 
27 27
   it "should confirm that when a function is attached to an object, 'this' refers to the object", ->
28  
-    currentYear = 2011; # Update me!
  28
+    currentYear = 2011 # Update me!
29 29
     meglomaniac =
30 30
       mastermind: 'James Wood'
31 31
       henchman: 'Adam West'
32 32
       birthYear: 1970
33 33
       calculateAge: -> currentYear - @birthYear
34 34
 
35  
-    expect(currentYear).toBe(FILL_ME_IN);
36  
-    expect(meglomaniac.calculateAge()).toBe(FILL_ME_IN);
  35
+    expect(currentYear).toBe(FILL_ME_IN)
  36
+    expect(meglomaniac.calculateAge()).toBe(FILL_ME_IN)
37 37
 
38 38
 
39 39
   describe "'in' keyword", ->
@@ -46,7 +46,7 @@ describe 'About Objects', ->
46 46
 
47 47
     it 'should have the bomb', ->
48 48
       hasBomb = meglomaniac.theBomb? # ? is the existence operator
49  
-      expect(hasBomb).toBe(FILL_ME_IN);
  49
+      expect(hasBomb).toBe(FILL_ME_IN)
50 50
 
51 51
     it 'should not have the detonator however', ->
52 52
       hasDetonator = meglomaniac.theDetonator?
@@ -79,7 +79,7 @@ describe 'About Objects', ->
79 79
 
80 80
       Circle.prototype.describe = -> 'This circle has a radius of: ' + @radius
81 81
 
82  
-      expect(simpleCircle.describe()).toBe(FILL_ME_IN);
83  
-      expect(colouredCircle.describe()).toBe(FILL_ME_IN);
  82
+      expect(simpleCircle.describe()).toBe(FILL_ME_IN)
  83
+      expect(colouredCircle.describe()).toBe(FILL_ME_IN)
84 84
 
85 85
 

0 notes on commit b1f9b13

Please sign in to comment.
Something went wrong with that request. Please try again.