Skip to content

Commit

Permalink
Merge branch 'feature/analytics' of https://github.com/InseeFr/Trevas
Browse files Browse the repository at this point in the history
…into feature/analytics
  • Loading branch information
pengfei99 committed Dec 18, 2023
2 parents 0b10c6e + 76b78d3 commit 803cfee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ public void testSimple() {

assertThatThrownBy(() -> {
engine.eval(vtlExpression);
}).isInstanceOf(UnimplementedException.class);
}).isInstanceOf(UnsupportedOperationException.class);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public void testAnLag() throws ScriptException {
context.setAttribute("ds2", ds2, ScriptContext.ENGINE_SCOPE);


engine.eval("res := lag ( ds2 , 1 over ( partition by Id_1 , Id_2 order by Year ) );");
engine.eval("res := lag ( ds2 over ( partition by Id_1 , Id_2 order by Year ) );");
assertThat(engine.getContext().getAttribute("res")).isInstanceOf(Dataset.class);

/*
Expand Down

0 comments on commit 803cfee

Please sign in to comment.