Skip to content

Commit 2a8ff71

Browse files
committed
fix(runtime): Update error message for missing start function in load method
1 parent 81e64f5 commit 2a8ff71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/runtime/src/interpreter/interpreter.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ describe('IRInterpreter', () => {
3131
emptyProgram.functions.delete('start2');
3232

3333
expect(() => interpreter.load(emptyProgram)).toThrow(
34-
'Program must have a start2 function with at least one block',
34+
'Program must have a start1, start2, or main function with at least one block. Available functions: action1, action2',
3535
);
3636
});
3737

0 commit comments

Comments
 (0)