add test for bad import
This commit is contained in:
@@ -6,6 +6,12 @@ const char *err_str(int err) {
|
||||
case ErrorNoMem: return "out of memory";
|
||||
case ErrorInvalidFormat: return "invalid format";
|
||||
case ErrorSemanticAnalyzeFail: return "semantic analyze failed";
|
||||
case ErrorAccess: return "access denied";
|
||||
case ErrorInterrupted: return "interrupted";
|
||||
case ErrorSystemResources: return "lack of system resources";
|
||||
case ErrorFileNotFound: return "file not found";
|
||||
case ErrorFileSystem: return "file system error";
|
||||
case ErrorFileTooBig: return "file too big";
|
||||
}
|
||||
return "(invalid error)";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user