Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alekseysotnikov committed Jun 9, 2017
1 parent cb30430 commit 674fd1b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ new Cmd()
````java
new Cmd()
.afterStop(process -> {
//work directory ./foo and process result exist here and not deleted yet.
//work directory ./foo exists here and not deleted yet.
})
.cleanUp(true)
.execute(new ProcessExecutor("echo", "hello world")
Expand Down
5 changes: 3 additions & 2 deletions src/test/java/com/enot/cmd/CmdTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ public void createWorkDir() throws Exception {
assertFalse(workDir.exists());

new Cmd()
.execute(new ProcessExecutor("echo", "hello world")
.directory(workDir));
.execute(
new ProcessExecutor("echo", "hello world")
.directory(workDir));

assertTrue(workDir.exists());
}
Expand Down

0 comments on commit 674fd1b

Please sign in to comment.