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 = value.toStr().mid(10).replace("_", ".")
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rooibos-roku",
3
- "version": "5.2.1",
3
+ "version": "5.2.2",
4
4
  "description": "simple, flexible, fun brightscript test framework for roku scenegraph apps - roku brighterscript plugin",
5
5
  "repository": {
6
6
  "type": "git",