Skip to content

Commit

Permalink
feat(compiler) Adjust test for unsupported platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitSeb committed Sep 16, 2021
1 parent c7544dc commit 9c9c0be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/compiler-singlepass/src/compiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
};
}
Expand Down

0 comments on commit 9c9c0be

Please sign in to comment.