mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-16 07:28:52 +00:00
Fix hw1 fuzzer
This commit is contained in:
@@ -52,5 +52,8 @@ pub fn test_irgen(unit: &TranslationUnit, path: &Path) {
|
||||
.expect("failed to generate ir");
|
||||
|
||||
let args = Vec::new();
|
||||
assert_eq!(ir::interp(&ir, args), Ok(ir::Value::Int(status)));
|
||||
assert_eq!(
|
||||
ir::interp(&ir, args),
|
||||
Ok(ir::Value::int(status as u128, 32, true))
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user