Skip to content

Commit

Permalink
Updated TestMLBridge to have friendlier var names.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jennie '7' Evers-Corvina committed May 7, 2013
1 parent 7c16bcb commit 01e9e48
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions test/TestMLBridge.ls
@@ -1,17 +1,17 @@
testml = require("./lib/TestML")

class TestMLBridge
uppercase: (s) ->
s.to-upper-case!
uppercase: (string_) ->
string_.to-upper-case!

lowercase: (s) ->
s.to-lower-case!
lowercase: (string_) ->
string_.to-lower-case!

combine: (...args) ->
fold (++), "", args

f1: (n) ->
n * 42 + n
f1: (num) ->
num * 42 + num

f2: (n) ->
n ^ 2 + n
f2: (num) ->
num ^ 2 + num

0 comments on commit 01e9e48

Please sign in to comment.