From ca15266fb4cf9e045fd9e86d768ad032ea66bd41 Mon Sep 17 00:00:00 2001 From: Geir Storli Date: Mon, 4 Mar 2019 07:41:05 +0000 Subject: Fix indentation. --- document/src/tests/documentcalculatortestcase.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'document/src/tests/documentcalculatortestcase.cpp') diff --git a/document/src/tests/documentcalculatortestcase.cpp b/document/src/tests/documentcalculatortestcase.cpp index e5d75f1bd46..744a7556f1b 100644 --- a/document/src/tests/documentcalculatortestcase.cpp +++ b/document/src/tests/documentcalculatortestcase.cpp @@ -81,7 +81,7 @@ TEST_F(DocumentCalculatorTest, testDivideByZero) { Document doc(*_testRepo.getDocumentType("testdoctype1"), DocumentId("doc:test:foo")); EXPECT_THROW(calc.evaluate(doc, std::move(variables)), - vespalib::IllegalArgumentException); + vespalib::IllegalArgumentException); } TEST_F(DocumentCalculatorTest, testModByZero) { @@ -90,7 +90,7 @@ TEST_F(DocumentCalculatorTest, testModByZero) { Document doc(*_testRepo.getDocumentType("testdoctype1"), DocumentId("doc:test:foo")); EXPECT_THROW(calc.evaluate(doc, std::move(variables)), - vespalib::IllegalArgumentException); + vespalib::IllegalArgumentException); } TEST_F(DocumentCalculatorTest, testFieldNotSet) { @@ -102,7 +102,7 @@ TEST_F(DocumentCalculatorTest, testFieldNotSet) { doc.setValue(doc.getField("hfloatval"), FloatFieldValue(3.0)); doc.setValue(doc.getField("headerlongval"), LongFieldValue(2)); EXPECT_THROW(calc.evaluate(doc, std::move(variables)), - vespalib::IllegalArgumentException); + vespalib::IllegalArgumentException); } TEST_F(DocumentCalculatorTest, testFieldNotFound) { @@ -115,7 +115,7 @@ TEST_F(DocumentCalculatorTest, testFieldNotFound) { doc.setValue(doc.getField("hfloatval"), FloatFieldValue(3.0)); doc.setValue(doc.getField("headerlongval"), LongFieldValue(2)); EXPECT_THROW(calc.evaluate(doc, std::move(variables)), - vespalib::IllegalArgumentException); + vespalib::IllegalArgumentException); } TEST_F(DocumentCalculatorTest, testByteSubtractionZeroResult) { -- cgit v1.2.3