diff options
author | Jon Bratseth <bratseth@verizonmedia.com> | 2019-06-06 09:36:51 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@verizonmedia.com> | 2019-06-06 09:36:51 +0200 |
commit | 3344c999c2721b75666e2e49f7fd6f15c9fe1353 (patch) | |
tree | 1d0084ff7c5037774d8740ce9dd5a7777c9367f7 /model-integration/src/test | |
parent | 3e1ef49b358ef027311d1d44d846695ea46125b8 (diff) |
Expression file references in Vespa models
Diffstat (limited to 'model-integration/src/test')
-rw-r--r-- | model-integration/src/test/models/vespa/example.model | 2 | ||||
-rw-r--r-- | model-integration/src/test/models/vespa/test.expression | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/model-integration/src/test/models/vespa/example.model b/model-integration/src/test/models/vespa/example.model index 66d21cfc53f..6d660732db9 100644 --- a/model-integration/src/test/models/vespa/example.model +++ b/model-integration/src/test/models/vespa/example.model @@ -15,7 +15,7 @@ model example { } function foo1() { - expression: reduce(sum(input1 * input2, name) * constant1, max, x) * constant2 + expression: file:test.expression } function foo2() { diff --git a/model-integration/src/test/models/vespa/test.expression b/model-integration/src/test/models/vespa/test.expression new file mode 100644 index 00000000000..5db8a720498 --- /dev/null +++ b/model-integration/src/test/models/vespa/test.expression @@ -0,0 +1 @@ +reduce(sum(input1 * input2, name) * constant1, max, x) * constant2
\ No newline at end of file |