test: fix a few CI warnings

Signed-off-by: ljedrz <ljedrz@gmail.com>
This commit is contained in:
ljedrz 2020-10-21 17:26:51 +02:00
parent 7443bffc00
commit 115b7f2266
2 changed files with 6 additions and 5 deletions

View File

@ -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");

View File

@ -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};