Commit d6ecce7
committed
Add Java test case for resource function error message
Add testResourceFunctionMustReturn() method to ReachabilityAnalysisTest
Links to resource_function_must_return_negative.bal test file
Validates error message displays 'resource function' correctly
Follows existing negative test pattern in the file
Addresses feedback from @dalajnathan review1 parent b19805b commit d6ecce7
File tree
1 file changed
+9
-0
lines changed- tests/jballerina-unit-test/src/test/java/org/ballerinalang/test/reachability
1 file changed
+9
-0
lines changedLines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
672 | 672 | | |
673 | 673 | | |
674 | 674 | | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
675 | 684 | | |
676 | 685 | | |
677 | 686 | | |
| |||
0 commit comments