mirror of
https://github.com/mii443/wasmer.git
synced 2025-08-24 01:09:26 +00:00
feat(compiler) Adjust test for unsupported platforms
This commit is contained in:
@ -255,7 +255,7 @@ mod tests {
|
||||
let (mut info, translation, inputs) = dummy_compilation_ingredients();
|
||||
let result = compiler.compile_module(&win32, &mut info, &translation, inputs);
|
||||
match result.unwrap_err() {
|
||||
CompileError::UnsupportedTarget(name) => assert_eq!(name, "windows"), // Windows should be checked before architecture
|
||||
CompileError::UnsupportedTarget(name) => assert_eq!(name, "i686"), // Windows should be checked before architecture
|
||||
error => panic!("Unexpected error: {:?}", error),
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user