[Bug]: `re
\(`` in source code breaks the test report
#43670
Labels
Area/TestFramework
Team/DevTools
Ballerina Developer Tooling ( CLI, Test FW, Package Management, OpenAPI, APIDocs )
Type/Bug
Description
When using the code,
final string:RegExp regBracketSplitter = re `\(`;
, thetest_results.json
has the below invalid syntax error.The suspected reason for this is,
ballerina-lang/cli/ballerina-cli/src/main/java/io/ballerina/cli/utils/TestUtils.java
Line 185 in d3f9172
\\(
->\(
).Steps to Reproduce
And to a
bal test --test-report --code-coverage
.Affected Version(s)
Tested on Ballerina 2201.8.x, 2201.10.x
OS, DB, other environment details and versions
No response
Related area
-> Test Framework
Related issue(s) (optional)
https://github.com/wso2-enterprise/internal-support-ballerina/issues/849
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered: