diff --git a/src/source_tests.cc b/src/source_tests.cc index 556623a82f..eea1d9c38d 100644 --- a/src/source_tests.cc +++ b/src/source_tests.cc @@ -107,7 +107,7 @@ TEST_F(SourceTest, Response) { // 1 trade src_facility->GetMatlTrades(trades, responses); EXPECT_EQ(responses.size(), 1); - EXPECT_EQ(responses[0].second->quantity(), qty + 1); + EXPECT_EQ(responses[0].second->quantity(), qty); EXPECT_EQ(responses[0].second->comp(), recipe); // 2 trades, total qty = capacity