Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public String description() {
+ " table if the -t option is not provided. The boolean argument determines if accumulo"
+ " sets the time. If the -i ignore option is supplied then no exception will be thrown"
+ " when attempting to import files from an empty source directory. An info log message"
+ " will be displayed indicating the source directory is empty, but no error is thrown.\n"
+ " will be displayed indicating the source directory is empty, but no error is thrown."
+ " Bulk import only takes 2 arguments: <directory> true|false";
}
Comment thread
dlmarion marked this conversation as resolved.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import static org.easymock.EasyMock.expectLastCall;
import static org.easymock.EasyMock.replay;
import static org.easymock.EasyMock.verify;
import static org.junit.jupiter.api.Assertions.assertFalse;

import org.apache.accumulo.core.client.AccumuloClient;
import org.apache.accumulo.core.client.admin.TableOperations;
Expand Down Expand Up @@ -127,4 +128,10 @@ public void testPassTableOptCmdForm() throws Exception {
replay(client, cli, shellState, tableOperations, bulkImport);
cmd.execute("importdirectory in_dir false", cli, shellState);
}

@Test
public void testDescriptionDoesNotContainLineBreak() {
replay(client, cli, shellState, tableOperations, bulkImport);
assertFalse(cmd.description().contains("\n"));
}
}
Loading