rooibos-roku 5.2.1 → 5.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1126,7 +1126,7 @@ namespace rooibos
|
|
|
1126
1126
|
return false
|
|
1127
1127
|
end if
|
|
1128
1128
|
if rooibos.Common.isFunction(func)
|
|
1129
|
-
func =
|
|
1129
|
+
func = func.toStr().mid(10).replace("_", ".")
|
|
1130
1130
|
end if
|
|
1131
1131
|
try
|
|
1132
1132
|
if not Rooibos.Common.isAssociativeArray(value)
|
|
@@ -1137,8 +1137,8 @@ namespace rooibos
|
|
|
1137
1137
|
m.currentResult.fail(msg, m.currentAssertLineNumber)
|
|
1138
1138
|
return false
|
|
1139
1139
|
end if
|
|
1140
|
-
className = `${value.__classname}`
|
|
1141
|
-
if className <> func
|
|
1140
|
+
className = lCase(`${value.__classname}`)
|
|
1141
|
+
if className <> lCase(func)
|
|
1142
1142
|
if msg = ""
|
|
1143
1143
|
msg = `Expected class: ${func} got ${className}`
|
|
1144
1144
|
end if
|