Skip to content

Commit

Permalink
HAP-137 fix unit test gt ordering for #1
Browse files Browse the repository at this point in the history
  • Loading branch information
pkrusche committed Nov 26, 2015
1 parent fbd56e6 commit 9f1087c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .ycm_extra_conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@
'-I',
'external/intervaltree',
'-I',
'external/boost_install/include',
'-I',
'/illumina/thirdparty/boost/boost_1_55_0_python2.4/include',
'-I',
'/opt/boost_1_55_0/include',
Expand Down
2 changes: 2 additions & 0 deletions src/c++/test/test_allelesplit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ BOOST_AUTO_TEST_CASE(testVariantPrimitiveSplitter)
std::ostringstream oss;
oss << v;
std::string res = stringutil::replaceAll(oss.str(), "1/0", "0/1");
res = stringutil::replaceAll(res, "2/0", "0/2");
res = stringutil::replaceAll(res, "2/1", "1/2");
if(!expected_vars[v.pos].count(res))
{
std::cerr << "Unexpected variant calls: " << v << "\n";
Expand Down

0 comments on commit 9f1087c

Please sign in to comment.