Fix failing unit tests related to recent renaming of function to Function

This commit is contained in:
Jason Turner
2011-04-26 10:17:24 -06:00
parent 61b8481514
commit e5f9dbb93b
3 changed files with 20 additions and 9 deletions

View File

@@ -313,7 +313,7 @@ def string::rtrim() { \n\
def string::trim() { \n\
ltrim(rtrim(this)); \n\
} \n\
def find(container, value, compare_func) : call_exists(range, container) && is_type(compare_func, "function") { \n\
def find(container, value, compare_func) : call_exists(range, container) && is_type(compare_func, "Function") { \n\
var range = range(container); \n\
while (!range.empty()) { \n\
if (compare_func(range.front(), value)) { \n\