aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/java/com/yahoo/searchdefinition/RankingExpressionInliningTestCase.java
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@oath.com>2018-09-17 12:36:36 +0200
committerJon Bratseth <bratseth@oath.com>2018-09-17 12:36:36 +0200
commit769aec13c58050c6e4edffcbb0f8bfc82d12cb30 (patch)
tree837d7e9b738f3c1997993641432038a62c42ef02 /config-model/src/test/java/com/yahoo/searchdefinition/RankingExpressionInliningTestCase.java
parent493adba229cc53c5766b0b63060562d6256abdd8 (diff)
Refactor: macro -> function
Diffstat (limited to 'config-model/src/test/java/com/yahoo/searchdefinition/RankingExpressionInliningTestCase.java')
-rw-r--r--config-model/src/test/java/com/yahoo/searchdefinition/RankingExpressionInliningTestCase.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/config-model/src/test/java/com/yahoo/searchdefinition/RankingExpressionInliningTestCase.java b/config-model/src/test/java/com/yahoo/searchdefinition/RankingExpressionInliningTestCase.java
index b13ffabda77..4c3f0eaebde 100644
--- a/config-model/src/test/java/com/yahoo/searchdefinition/RankingExpressionInliningTestCase.java
+++ b/config-model/src/test/java/com/yahoo/searchdefinition/RankingExpressionInliningTestCase.java
@@ -22,7 +22,7 @@ import static org.junit.Assert.fail;
public class RankingExpressionInliningTestCase extends SearchDefinitionTestCase {
@Test
- public void testMacroInliningPreserveArithemticOrdering() throws ParseException {
+ public void testFunctionInliningPreserveArithemticOrdering() throws ParseException {
RankProfileRegistry rankProfileRegistry = new RankProfileRegistry();
SearchBuilder builder = new SearchBuilder(rankProfileRegistry);
builder.importString(
@@ -187,8 +187,8 @@ public class RankingExpressionInliningTestCase extends SearchDefinitionTestCase
}
/**
- * Expression evaluation has no stack so macro arguments are bound at config time creating a separate version of
- * each macro for each binding, using hashes to name the bound variants of the macro.
+ * Expression evaluation has no stack so function arguments are bound at config time creating a separate version of
+ * each function for each binding, using hashes to name the bound variants of the function.
* This method censors those hashes for string comparison.
*/
private String censorBindingHash(String s) {