Skip to content
This repository has been archived by the owner on Feb 23, 2018. It is now read-only.

Commit

Permalink
move resources
Browse files Browse the repository at this point in the history
mkdir -p src/main/resources/scala/tools
mv src/main/resources/jline src/main/resources/scala/tools

mkdir -p src/test/resources/scala/tools
mv src/test/resources/jline src/test/resources/scala/tools

The file `src/test/java/jline/console/ConsoleReaderTest.java` required
a manual change.
  • Loading branch information
lrytz committed Jun 9, 2015
1 parent 5fad2bd commit 3905397
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/java/jline/console/ConsoleReaderTest.java
Expand Up @@ -535,7 +535,7 @@ public void testMacro() throws Exception {

@Test
public void testInput() throws Exception {
System.setProperty(ConsoleReader.JLINE_INPUTRC, getClass().getResource("/jline/internal/config1").toExternalForm());
System.setProperty(ConsoleReader.JLINE_INPUTRC, getClass().getResource("/scala/tools/jline/internal/config1").toExternalForm());
try {
ConsoleReader consoleReader = createConsole("\u0018(foo\u0018)\u0018e\r\n");
assertNotNull(consoleReader);
Expand All @@ -554,7 +554,7 @@ public void testInput() throws Exception {

@Test
public void testInput2() throws Exception {
System.setProperty(ConsoleReader.JLINE_INPUTRC, getClass().getResource("/jline/internal/config2").toExternalForm());
System.setProperty(ConsoleReader.JLINE_INPUTRC, getClass().getResource("/scala/tools/jline/internal/config2").toExternalForm());
try {
ConsoleReader consoleReader = createConsole("Bash", new byte[0]);
assertNotNull(consoleReader);
Expand All @@ -567,7 +567,7 @@ public void testInput2() throws Exception {

@Test
public void testInputBadConfig() throws Exception {
System.setProperty(ConsoleReader.JLINE_INPUTRC, getClass().getResource("/jline/internal/config-bad").toExternalForm());
System.setProperty(ConsoleReader.JLINE_INPUTRC, getClass().getResource("/scala/tools/jline/internal/config-bad").toExternalForm());
try {
ConsoleReader consoleReader = createConsole("Bash", new byte[0]);
assertNotNull(consoleReader);
Expand Down

0 comments on commit 3905397

Please sign in to comment.