Skip to content

Commit

Permalink
Add some awkward test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
puremourning committed Aug 26, 2019
1 parent 6276dc5 commit ed22277
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions ycmd/tests/clangd/testdata/general_fallback/make_drink.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,17 @@ int main( int , char ** )
make_drink( TypeOfDrink::COFFEE, 10.0, Flavour::ELDERFLOWER );
make_drink( TypeOfDrink::JUICE, Temperature::COLD, 1 );
}

void test_right_edge_80()
{
make_drink(
TypeOfDrink::COFFEE,
10, Flavour::ORANGE_AND_PINEAPPLE);
}

void test_left_edge()
{
make_drink( TypeOfDrink::JUICE,
Temperature
::WARM, 10 );
}

0 comments on commit ed22277

Please sign in to comment.