Skip to content

Commit

Permalink
Comment .<init> function usage in profiler test
Browse files Browse the repository at this point in the history
  • Loading branch information
poorna2152 committed Nov 22, 2023
1 parent 487fb88 commit 4332090
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
import ballerina/test;
import ballerina/jballerina.java;

public function '\.\<init\>() returns string {
return "this is a user defined function";
}
// public function '\.\<init\>() returns string {
// return "this is a user defined function";
// }

class Person {
public string firstName;
Expand Down Expand Up @@ -60,7 +60,7 @@ public function main() {
Person person = new("John", "Doe");
test:assertEquals("John", person.firstName);
test:assertEquals("John Doe", person.'\$init\$());
test:assertEquals("this is a user defined function", '\.\<init\>());
// test:assertEquals("this is a user defined function", '\.\<init\>());

record {|
string name;
Expand Down

0 comments on commit 4332090

Please sign in to comment.