You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to use a BrighterScript template string in a @params annotation for a test I was writing, but found that when I used the template string within the annotation, the test run unexpectedly hung on the device and never completed or exited with an error.
Test case to reproduce:
namespaceTesting.TemplateStringsInAnnotations
@suiteclassTestCaseextendsRooibos.BaseTestSuiteprivatedataasobject'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
@describe("test case")
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
@it("should be able to test BrighterScript template strings")
' this works fine, of course...
@params("foo")
' ... but this one doesn't, and silently fails while the tests run on-device.
@params(`foo`)
function_(inputasstring)
m.assertEqual(input, "foo")
end function end classend namespace
The text was updated successfully, but these errors were encountered:
I wanted to use a BrighterScript template string in a
@params
annotation for a test I was writing, but found that when I used the template string within the annotation, the test run unexpectedly hung on the device and never completed or exited with an error.Test case to reproduce:
The text was updated successfully, but these errors were encountered: