From 5d4128a491042273b156ece3472c2cb9d3126052 Mon Sep 17 00:00:00 2001 From: AlexK Date: Mon, 7 Mar 2022 13:14:13 +0400 Subject: [PATCH] test update --- ethers-solc/tests/project.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ethers-solc/tests/project.rs b/ethers-solc/tests/project.rs index 9097844c..fc495d1f 100644 --- a/ethers-solc/tests/project.rs +++ b/ethers-solc/tests/project.rs @@ -100,11 +100,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.has_compiler_errors()); // nothing to compile let compiled = project.compile().unwrap(); assert!(compiled.find("Dapp").is_some()); + assert!(compiled.find("SimpleStore").is_some()); assert!(compiled.is_unchanged()); let cache = SolFilesCache::read(project.cache_path()).unwrap(); @@ -113,12 +115,14 @@ fn can_compile_yul_sample() { std::fs::remove_dir_all(&project.paths().artifacts).unwrap(); let compiled = project.compile().unwrap(); assert!(compiled.find("Dapp").is_some()); + assert!(compiled.find("SimpleStore").is_some()); assert!(!compiled.is_unchanged()); let updated_cache = SolFilesCache::read(project.cache_path()).unwrap(); assert_eq!(cache, updated_cache); } + #[test] fn can_compile_configured() { let root = PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("test-data/dapp-sample");