Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanheule committed Sep 2, 2024
1 parent 329d0d0 commit 8bbdd40
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 36 deletions.
1 change: 0 additions & 1 deletion src/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ mod test_piranha_scala;

mod test_piranha_thrift;

mod test_piranha_ruby;
mod test_piranha_scm;
mod test_piranha_strings;
mod test_piranha_yaml;
Expand Down
9 changes: 6 additions & 3 deletions src/tests/test_piranha_python.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,13 @@ fn test_delete_modify_str_literal_from_list_via_cli() {

let mut cmd = Command::cargo_bin("polyglot_piranha").unwrap();
cmd
.args(["-c", "test-resources/py/delete_cleanup_str_in_list/input"])
.args([
"-c",
"test-resources/python/delete_cleanup_str_in_list/input",
])
.args([
"-f",
"test-resources/py/delete_cleanup_str_in_list/configurations",
"test-resources/python/delete_cleanup_str_in_list/configurations",
])
.args(["-l", "python"])
.args(["-j", temp_file.to_str().unwrap()])
Expand All @@ -50,7 +53,7 @@ fn test_delete_modify_str_literal_from_list_via_cli() {
let content = read_file(&temp_file).unwrap();
let output: Vec<PiranhaOutputSummary> = serde_json::from_str(&content).unwrap();
let expected_path =
Path::new("test-resources/py/delete_cleanup_str_in_list/expected/only_lists.py");
Path::new("test-resources/python/delete_cleanup_str_in_list/expected/only_lists.py");
let expected = read_file(&expected_path.to_path_buf()).unwrap();
assert!(eq_without_whitespace(output[0].content(), &expected));

Expand Down
32 changes: 0 additions & 32 deletions src/tests/test_piranha_ruby.rs

This file was deleted.

0 comments on commit 8bbdd40

Please sign in to comment.