                                     str1: unitStr.substr(0, i).trim()
                                     str2: unitStr.substr(i + 1).trim()
                                 return
-                # An `eval` string must be enclosed by parentheses, otherwise
-                # an object literal (i.e. wrapped in braces) can't be evaluated.
                 do =>
                     if parsed.type == "equal"
                         newStr = "#{testArgName}.equal(#{parsed.str1}, #{parsed.str2}"
                 newStr
             )
-        console.log(s)
-        @_interpretedFunction = eval("(#{s})")
+        console.log(funStr)
+        # If an `eval` string has leading or trailing braces, then it must be enclosed
+        # by parentheses, otherwise it can't be parsed or evaluated.
+        @_interpretedFunction = eval("(#{funStr})")
         @
     get: ->
         @_fun

                else if c == "\\" and quote != null
                    i += 2
                else if quote == null and not oldWordStarted and not oldDotAffected and "a" <= c <= "z"
                    t = s.substr(i, 10)
                    if t.indexOf("end") == 0 or t.indexOf("equal") == 0 or t.indexOf("unit") == 0
                        positions.push(i)
                    i++
                else
                    i++
            positions.forEach((m, index) =>
                pos = m + (testArgName.length + 1) * index
                s = s.substr(0, pos) + testArgName + "." + s.substr(pos)
            )
        do =>
            s = s.replace(///
                #{testArgName}\.unit\s*\(\s*
                (
                    " (?: [^"\\] | \\. )* " |
                    ' (?: [^'\\] | \\. )* '
                )
            ///g, (match, p1) =>
                unitStr = eval(p1)
                parsed = null
                newStr = null
                do =>

    end: (result) ->
        @result = result ? {type: true}
        @
    equal: (actual, expected, description = "") ->
        determine = (actual, expected) =>
            if Array.isArray(actual) and Array.isArray(expected)
