Skip to content

Commit

Permalink
omnix-ci: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
shivaraj-bh committed Nov 28, 2024
1 parent 1b7c152 commit a9ace5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/omnix-ci/src/config/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#[cfg(test)]
mod tests {
use nix_rs::{command::NixCmd, flake::url::FlakeUrl};
use nix_rs::flake::url::FlakeUrl;
use omnix_common::config::OmConfig;

use crate::config::subflakes::SubflakesConfig;
Expand All @@ -15,7 +15,7 @@ mod tests {
"github:srid/haskell-flake/76214cf8b0d77ed763d1f093ddce16febaf07365#default.dev"
.to_string(),
);
let cfg = OmConfig::get(&NixCmd::default(), url).await.unwrap();
let cfg = OmConfig::get(url).await.unwrap();
let (config, attrs) = cfg.get_sub_config_under::<SubflakesConfig>("ci").unwrap();
assert_eq!(attrs, &["dev"]);
// assert_eq!(cfg.selected_subconfig, Some("dev".to_string()));
Expand Down

0 comments on commit a9ace5f

Please sign in to comment.