use of org.wso2.ballerinalang.compiler.packaging.converters.PathConverter in project ballerina by ballerina-lang.
the class RepoTest method testHomeRepo.
@Test
public void testHomeRepo() {
PackageID pkg = newPackageID("my_org", "my.pkg", "10.2.3");
HomeRepo subject = new HomeRepo((PathConverter) null);
Patten patten = subject.calculate(pkg);
Assert.assertEquals(patten.toString(), "$/repo/my_org/my.pkg/10.2.3/src/**~test~resources/*.bal");
}
Aggregations