Skip to content

Commit

Permalink
Scanner added to test
Browse files Browse the repository at this point in the history
  • Loading branch information
kalocsaadi committed May 16, 2024
1 parent 7c67355 commit 2ee9214
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/java/CmdInterpreter.java
Original file line number Diff line number Diff line change
Expand Up @@ -831,8 +831,8 @@ private String Load(String cmd)
try
{
File loadFile = new File("src/test/resources/" + args[0]);
/*Scanner fr = new Scanner(loadFile);
String line;
Scanner fr = new Scanner(loadFile);
/*String line;
while(fr.hasNextLine())
{
line = fr.nextLine();
Expand All @@ -842,8 +842,8 @@ private String Load(String cmd)
//System.out.println(NewCommand(line));
}
}
fr.close();
*/
fr.close();
return "[SIKERES] " + args[0] + " betoltve";
}
catch(Exception e)
Expand Down
Binary file modified target/test-classes/CmdInterpreter.class
Binary file not shown.

0 comments on commit 2ee9214

Please sign in to comment.