Skip to content

Commit

Permalink
Update compatibility check sample.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcamiel authored and hurl-bot committed Jan 17, 2025
1 parent 30b9a1b commit 10285be
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 50 deletions.
67 changes: 23 additions & 44 deletions contrib/sample/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions contrib/sample/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ edition = "2021"
[workspace]

[dependencies]
hurl = "5.0.1"
hurl_core = "5.0.1"
hurl = "6.0.0"
hurl_core = "6.0.0"

9 changes: 5 additions & 4 deletions contrib/sample/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@
*
*/
use hurl::runner;
use hurl::runner::{AssertResult, CaptureResult, EntryResult, HurlResult, RunnerError};
use hurl::runner::{
AssertResult, CaptureResult, EntryResult, HurlResult, RunnerError, RunnerOptionsBuilder,
VariableSet,
};
use hurl::util::logger::{ErrorFormat, LoggerOptionsBuilder, Verbosity};
use hurl::util::path::ContextDir;
use hurl_core::input::Input;
use hurl_core::typing::Count;
use runner::RunnerOptionsBuilder;
use std::collections::HashMap;
use std::fmt::Debug;
use std::process::exit;
use std::time::Duration;
Expand Down Expand Up @@ -82,7 +83,7 @@ fn main() {
.build();

// Set variables
let variables = HashMap::default();
let variables = VariableSet::default();

// Run the hurl file
let result = runner::run(
Expand Down

0 comments on commit 10285be

Please sign in to comment.