inital commit, which is clearly not initial

Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
Uncle Stretch
2024-10-03 15:38:52 +03:00
commit 66719626bb
178 changed files with 41709 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
use assert_cmd::cargo::cargo_bin;
use std::process::Command;
use temfile::tempdir;
#[test]
#[cfg(unix)]
fn invalid_order_arguments() {
let tmpdir = tempdir().expect("could not create temp dir");
let status = Command::new(cargo_bin("ghost"))
.args(["--dev", "invalid_order_arguments", "-d"])
.arg(tmpdir.path())
.arg("-y")
.status()
.unwrap();
assert!(!status.success);
}