[Bug]: [Test] Expected and actual fields are interchanged in the generated tests. #42219
Labels
Area/TestFramework
Reason/EngineeringMistake
The issue occurred due to a mistake made in the past.
Type/Bug
Milestone
Description
Create a new project and add a new module.
Then in the
tests
folder of the newly created module there is auto-generated test file. It has addedexpected
andactual
in the wrong order.Existing:
Expected:
The generated test file is
Steps to Reproduce
bal new testproject cd testproject bal add module1
Affected Version(s)
Ballerina 2201.8.4 (Swan Lake Update 8)
Language specification 2023R1
Update Tool 1.4.2
OS, DB, other environment details and versions
No response
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered: