@@ -17,7 +17,7 @@ public void requireSpriteElementPath() throws Exception {
1717
1818 @ Test
1919 public void cssPath () throws Exception {
20- assertEquals (Paths .get ("target" , "css" , " sprite.css"). toString () ,
20+ assertEquals (Paths .get ("target" , "css" ). toString () + "/ sprite.css" ,
2121 new SvgSprites ()
2222 .set ("spritePath" , Paths .get ("target" , "css" ).toString ())
2323 .cssPath ());
@@ -30,7 +30,7 @@ public void cssPath() throws Exception {
3030
3131 @ Test
3232 public void spritePath () throws Exception {
33- assertEquals (Paths .get ("target" , "css" , " sprite.svg"). toString () ,
33+ assertEquals (Paths .get ("target" , "css" ). toString () + "/ sprite.svg" ,
3434 new SvgSprites ()
3535 .set ("spritePath" , Paths .get ("target" , "css" ).toString ())
3636 .spritePath ());
@@ -43,7 +43,7 @@ public void spritePath() throws Exception {
4343
4444 @ Test
4545 public void spritePrefix () throws Exception {
46- assertEquals (Paths .get ("target" , "css" , " p-sprite.svg"). toString () ,
46+ assertEquals (Paths .get ("target" , "css" ). toString () + "/ p-sprite.svg" ,
4747 new SvgSprites ()
4848 .set ("prefix" , "p" )
4949 .set ("spritePath" , Paths .get ("target" , "css" ).toString ())
@@ -58,14 +58,14 @@ public void spritePrefix() throws Exception {
5858
5959 @ Test
6060 public void spriteName () throws Exception {
61- assertEquals (Paths .get ("target" , "css" , " p-n-sprite.svg"). toString () ,
61+ assertEquals (Paths .get ("target" , "css" ). toString () + "/ p-n-sprite.svg" ,
6262 new SvgSprites ()
6363 .set ("prefix" , "p" )
6464 .set ("name" , "n" )
6565 .set ("spritePath" , Paths .get ("target" , "css" ).toString ())
6666 .spritePath ());
6767
68- assertEquals (Paths .get ("target" , "css" , " n-sprite.svg"). toString () ,
68+ assertEquals (Paths .get ("target" , "css" ). toString () + "/ n-sprite.svg" ,
6969 new SvgSprites ()
7070 .set ("name" , "n" )
7171 .set ("spritePath" , Paths .get ("target" , "css" ).toString ())
@@ -74,7 +74,7 @@ public void spriteName() throws Exception {
7474
7575 @ Test
7676 public void cssPrefix () throws Exception {
77- assertEquals (Paths .get ("target" , "css" , " p-sprite.css"). toString () ,
77+ assertEquals (Paths .get ("target" , "css" ). toString () + "/ p-sprite.css" ,
7878 new SvgSprites ()
7979 .set ("prefix" , "p" )
8080 .set ("spritePath" , Paths .get ("target" , "css" ).toString ())
0 commit comments