Skip to content

Commit

Permalink
HNwa
Browse files Browse the repository at this point in the history
  • Loading branch information
xFrednet committed Oct 7, 2023
1 parent bb4f647 commit dbabdc2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/uitest.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
use marker_uitest::ui_test::*;
use std::{env, path::PathBuf};
use std::env;

fn main() -> color_eyre::Result<()> {
let mut config: Config = marker_uitest::create_ui_test_config(
let config: Config = marker_uitest::create_ui_test_config(
std::path::PathBuf::from_iter(std::path::Path::new("tests/ui")),
&std::env::var("CARGO_TARGET_DIR").unwrap_or_else(|_| "./target".into()),
&std::path::PathBuf::from_iter(std::path::Path::new(
&std::env::var("CARGO_TARGET_DIR").unwrap_or_else(|_| "./target".into()),
)),
env!("CARGO_PKG_NAME"),
std::path::Path::new(env!("CARGO_MANIFEST_DIR")),
marker_api::MARKER_API_VERSION,
Expand Down

0 comments on commit dbabdc2

Please sign in to comment.