Improved test to actually check ABI
This commit is contained in:
parent
7624520ce9
commit
4e07de2c07
|
@ -101,13 +101,13 @@ fn can_compile_yul_sample() {
|
|||
let compiled = project.compile().unwrap();
|
||||
assert!(compiled.find("Dapp").is_some());
|
||||
assert!(compiled.find("SimpleStore").is_some());
|
||||
assert!(compiled.find("SimpleStore").unwrap().abi.is_some());
|
||||
assert!(!compiled.has_compiler_errors());
|
||||
|
||||
// nothing to compile
|
||||
let compiled = project.compile().unwrap();
|
||||
assert!(compiled.find("Dapp").is_some());
|
||||
assert!(compiled.find("SimpleStore").is_some());
|
||||
println!{"{:?}", compiled};
|
||||
assert!(compiled.is_unchanged());
|
||||
|
||||
let cache = SolFilesCache::read(project.cache_path()).unwrap();
|
||||
|
|
Loading…
Reference in New Issue