diff options
author | Geir Storli <geirst@verizonmedia.com> | 2019-03-04 07:41:05 +0000 |
---|---|---|
committer | Geir Storli <geirst@verizonmedia.com> | 2019-03-04 07:41:05 +0000 |
commit | ca15266fb4cf9e045fd9e86d768ad032ea66bd41 (patch) | |
tree | 11d2dbc379db21383e415b4b84490ae76844339c /document/src | |
parent | 87b9b1c1fde62b9e62c17dba45564a1f80ee4655 (diff) |
Fix indentation.
Diffstat (limited to 'document/src')
-rw-r--r-- | document/src/tests/documentcalculatortestcase.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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) { |