diff --git a/README.md b/README.md index 0d16ab1301c3a5ad234756e2b5410c6e899cff60..2d7fd0c53dddb99fb645d7f9b159afd5dd1adf20 100644 --- a/README.md +++ b/README.md @@ -291,7 +291,7 @@ public class CmdJavaProgram implements Command { * @param commandName The name of the command * @param mainClass The class containing a main(String[]) method */ - public JavaProgram(String commandName, Class<?> mainClass) { + public CmdJavaProgram(String commandName, Class<?> mainClass) { this.mainClass = mainClass; this.commandName = commandName; } diff --git a/src/test/java/no/uib/inf101/terminal/TestSimpleShellEcho.java b/src/test/java/no/uib/inf101/terminal/TestSimpleShellEcho.java index 92246e09ab76c202b7345297d79f2a6ec467c7a2..1783ebbe469a937dedc030f4679505054c5a6130 100644 --- a/src/test/java/no/uib/inf101/terminal/TestSimpleShellEcho.java +++ b/src/test/java/no/uib/inf101/terminal/TestSimpleShellEcho.java @@ -30,7 +30,7 @@ public class TestSimpleShellEcho { // shell.keyPressed('r'); // shell.keyPressed('\n'); // -// String expected = "$ echo foo bar \nfoo bar \n$ "; +// String expected = "$ echo foo bar\nfoo bar \n$ "; // assertEquals(expected, shell.getScreenContent()); // } }