mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-09-22 11:17:37 +03:00
test: fix a few CI warnings
Signed-off-by: ljedrz <ljedrz@gmail.com>
This commit is contained in:
parent
7443bffc00
commit
115b7f2266
@ -14,13 +14,12 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with the Leo library. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use leo_ast::LeoAst;
|
||||
|
||||
use std::path::PathBuf;
|
||||
|
||||
#[test]
|
||||
#[cfg(not(feature = "ci_skip"))]
|
||||
fn test_serialize() {
|
||||
use leo_ast::LeoAst;
|
||||
use std::path::PathBuf;
|
||||
|
||||
let mut program_filepath = PathBuf::from(env!("CARGO_MANIFEST_DIR"));
|
||||
program_filepath.push("tests/serialization/main.leo");
|
||||
|
||||
|
@ -15,7 +15,9 @@
|
||||
// along with the Leo library. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use leo_ast::LeoAst;
|
||||
use leo_typed::{LeoTypedAst, Program};
|
||||
use leo_typed::LeoTypedAst;
|
||||
#[cfg(not(feature = "ci_skip"))]
|
||||
use leo_typed::Program;
|
||||
|
||||
use std::path::{Path, PathBuf};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user