Permalink
Browse files

updated README.md

  • Loading branch information...
2 parents 7488f29 + 36031fd commit ca0e75a07cae7e089a331c72151169756678d771 @sirrapa committed Dec 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/test/java/com/sirrapa/maven/plugins/nodejs/NodeJsMojoTest.java
@@ -214,7 +214,7 @@ public void testGetCommandLine() throws Exception {
cmd.getShell().setQuotedExecutableEnabled(false);
cmd.getShell().setQuotedArgumentsEnabled(false);
expected= "/bin/sh -c cd %s && %s %s -o buildconfig.js";
- assertEquals("The commandline string is invalid", String.format(expected, workDir, executable, module.getName()), cmd.toString());
+ assertEquals("The commandline string is invalid", String.format(expected, cmd.getWorkingDirectory().getAbsolutePath(), executable, module.getName()), cmd.toString());
}

0 comments on commit ca0e75a

Please sign in to comment.