From 639fdfc0d3c9a391a0547f8ef82a2297bf2a1dd9 Mon Sep 17 00:00:00 2001 From: Torstein Stromme <torstein.stromme@uib.no> Date: Fri, 27 Jan 2023 13:37:14 +0100 Subject: [PATCH] typos --- README.md | 2 +- src/test/java/no/uib/inf101/terminal/TestSimpleShellEcho.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0d16ab1..2d7fd0c 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 92246e0..1783ebb 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()); // } } -- GitLab