rooibos-roku 5.2.1 → 5.2.3
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
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rooibos-roku",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.3",
|
|
4
4
|
"description": "simple, flexible, fun brightscript test framework for roku scenegraph apps - roku brighterscript plugin",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"source-map": "^0.7.3",
|
|
18
|
+
"undent": "^0.1.0",
|
|
18
19
|
"vscode-languageserver": "~6.1.1",
|
|
19
20
|
"vscode-languageserver-protocol": "~3.15.3"
|
|
20
21
|
},
|
|
@@ -39,8 +40,7 @@
|
|
|
39
40
|
"source-map-support": "^0.5.13",
|
|
40
41
|
"trim-whitespace": "^1.3.3",
|
|
41
42
|
"ts-node": "^9.0.0",
|
|
42
|
-
"typescript": "^3.8.3"
|
|
43
|
-
"undent": "^0.1.0"
|
|
43
|
+
"typescript": "^3.8.3"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"preversion": "npm run build && npm run lint && npm run test",
|
|
@@ -110,4 +110,4 @@
|
|
|
110
110
|
"ts"
|
|
111
111
|
]
|
|
112
112
|
}
|
|
113
|
-
}
|
|
113
|
+
}
|