Skip to content

Commit

Permalink
fix(test):black test
Browse files Browse the repository at this point in the history
  • Loading branch information
limuy2022 committed Apr 21, 2024
1 parent 9d76d88 commit 7586bfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_all_examples.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ use assert_cmd::Command;
#[test]
pub fn test_run_examples() {
// 遍历整个examples目录
let mut cmd = Command::cargo_bin("trc").unwrap();
for entry in std::fs::read_dir("examples").unwrap() {
let path = entry.unwrap().path();
if path.is_file() {
let mut cmd = Command::cargo_bin("trc").unwrap();
// 获取标准答案
let mut ans_path = path.clone();
ans_path.pop();
Expand Down

0 comments on commit 7586bfd

Please sign in to comment.