summaryrefslogtreecommitdiff
path: root/src/test/java/org
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/org')
-rw-r--r--src/test/java/org/apache/maven/plugin/nar/test/TestLinkerVersion.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/java/org/apache/maven/plugin/nar/test/TestLinkerVersion.java b/src/test/java/org/apache/maven/plugin/nar/test/TestLinkerVersion.java
index ee8eede..6890b59 100644
--- a/src/test/java/org/apache/maven/plugin/nar/test/TestLinkerVersion.java
+++ b/src/test/java/org/apache/maven/plugin/nar/test/TestLinkerVersion.java
@@ -20,6 +20,7 @@
package org.apache.maven.plugin.nar.test;
import org.apache.maven.plugin.nar.Linker;
+import org.apache.maven.plugin.nar.NarProperties;
import org.apache.maven.plugin.nar.NarUtil;
import junit.framework.Assert;
@@ -45,7 +46,7 @@ public class TestLinkerVersion
String architecture = System.getProperty( "os.arch" );
linker = new Linker();
// String name =
- linker.getName( NarUtil.getDefaults(), NarUtil.getArchitecture( architecture ) + "." + NarUtil.getOS( null )
+ linker.getName( NarProperties.getInstance(null), NarUtil.getArchitecture( architecture ) + "." + NarUtil.getOS( null )
+ "." );
}