feat: print validator config after successful run

This commit is contained in:
Aravinth Manivannan 2023-09-29 19:16:47 +05:30
parent b3c685b593
commit 1dcd1e955d
Signed by: realaravinth
GPG key ID: F8F50389936984FF
2 changed files with 2 additions and 4 deletions

View file

@ -4,11 +4,8 @@
use serde::{Deserialize, Serialize};
use super::suite::Test;
#[derive(Clone, Debug, Eq, PartialEq, Serialize, Deserialize)]
pub struct Result {
pub test: Test,
pub success: bool,
// sent by the app
pub logs: String,

View file

@ -9,5 +9,6 @@ mod target;
fn main() {
let s = fs::read_to_string("../ftest-control/targets/forgejo/ftest.toml").unwrap();
let _target: target::Target = toml::from_str(&s).unwrap();
let target: target::Target = toml::from_str(&s).unwrap();
println!("{:#?}", target);
}