Skip to content
Snippets Groups Projects
Commit 3b9fc3e1 authored by nkindlon's avatar nkindlon
Browse files

Added unit test for unrecognized arguments.

parent 19b3e29f
No related branches found
No related tags found
No related merge requests found
......@@ -595,6 +595,15 @@ check obs exp
rm obs exp dummy.txt
###########################################################
# Test that we throw an error for unrecognized arguments
############################################################
echo " intersect.new.t52...\c"
echo "ERROR. Unrecognized argument: -wrongArg" > exp
$BT intersect -a a.bed -b b.bed -wrongArg 2>&1 > /dev/null | head -2 | tail -1 > obs
check obs exp
rm obs exp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment