Skip to content

Commit 786f84e

Browse files
committed
fix tests
1 parent 7b9cf6d commit 786f84e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tmc-langs-cli/tests/core_mock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ fn get_organizations() {
5555
.to_string(),
5656
)
5757
.create();
58-
let out = run_cmd(&["core", "--clientName", "client", "get-organizations"]);
58+
let out = run_cmd(&["core", "--client-name", "client", "get-organizations"]);
5959
assert!(out.status.success());
6060
let out = String::from_utf8(out.stdout).unwrap();
6161
let orgs: Vec<Organization> = serde_json::from_str(&out).unwrap();

tmc-langs-cli/tests/non_core.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ fn compress_project() {
1717
let temp = tempdir().unwrap();
1818
let out = run_cmd(&[
1919
"compress-project",
20-
"--exercisePath",
20+
"--exercise-path",
2121
&test_dir("project"),
22-
"--outputPath",
22+
"--output-path",
2323
temp.path().join("zip.zip").to_str().unwrap(),
2424
]);
2525
println!("out:\n{}", String::from_utf8(out.stdout).unwrap());

0 commit comments

Comments
 (0)