Open austinEng opened 1 year ago
Can be added to api/validation/shader_module/entry_point.spec.ts, I think
What's required here? IIUC there's no spec about what messages get returned, only that if they are returned, I'd be nice (but not guaranteed) if line and column were correct.
In other words, impl can return no error message, or Error: unknown function
or just Error
Test could warn if it's not included. That's not a failure by default and won't be very useful but someday we might run CTS with a "-Werror" style mode.
Also would be useful to know nothing crashes with these inputs, but we may have that tested sufficiently well already, not sure.
Expand tests in compilation_info.spec.ts to include error messages that contain utf16 code points. Like
Error: unknown function 'hello👩💻'