mirror of https://github.com/apache/archiva.git
fix my bad!!
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1547963 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0ced29e3c4
commit
155a90a5d2
|
@ -35,10 +35,10 @@ public class RepositoryPathUtilTest
|
||||||
public void testGetRepositoryId()
|
public void testGetRepositoryId()
|
||||||
{
|
{
|
||||||
String href = "/path/to/my/resource";
|
String href = "/path/to/my/resource";
|
||||||
Assertions.assertThat( RepositoryPathUtil.getRepositoryName( href ) ).equals( "to" );
|
Assertions.assertThat( RepositoryPathUtil.getRepositoryName( href ) ).isEqualTo( "to" );
|
||||||
|
|
||||||
href = "path/to/my/resource";
|
href = "path/to/my/resource";
|
||||||
Assertions.assertThat( RepositoryPathUtil.getRepositoryName( href ) ).equals( "to" );
|
Assertions.assertThat( RepositoryPathUtil.getRepositoryName( href ) ).isEqualTo( "to" );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue