File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
vtl-engine/src/test/java/fr/insee/vtl/engine/visitors/expression/functions Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -128,13 +128,13 @@ public void testCastExprDataset() throws ScriptException {
128128 engine .eval ("g := cast(\" \" , integer);" );
129129 })
130130 .isInstanceOf (CastException .class )
131- .hasMessage ("Failed to cast string to integer: For input string: \" \" " );
131+ .hasMessage ("Cannot cast empty string \" \" to integer " );
132132 assertThatThrownBy (
133133 () -> {
134134 engine .eval ("h := cast(\" \" , number);" );
135135 })
136136 .isInstanceOf (CastException .class )
137- .hasMessage ("Failed to cast string to number: empty String " );
137+ .hasMessage ("Cannot cast empty string \" \" to number" );
138138
139139 // Cast Boolean to...
140140 engine .eval ("i := cast(true, integer);" );
You can’t perform that action at this time.
0 commit comments