Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
bfong-owc committed May 3, 2024
1 parent 0247a7d commit 6f4662f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
run: make clean release
- name: Run tests
run: cargo test --verbose
run: make test
- name: make package
run: make package

6 changes: 3 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -318,11 +318,11 @@ mod tests {

if path_exists(&path) {
let result = fs::remove_dir_all(&path);
//assert!(result.is_ok());
assert!(result.is_ok());
}

let result = fs::create_dir(&path);
//assert!(result.is_ok(), "couldn't create {}", path);
assert!(result.is_ok(), "couldn't create {}", path);

// make sure it is created
let meta = fs::metadata(&path);
Expand All @@ -347,7 +347,7 @@ mod tests {
pub fn teardown() {
let path = goto_utils_path();
let result = fs::remove_dir_all(path);
//assert!(result.is_ok());
assert!(result.is_ok());
}

#[test]
Expand Down

0 comments on commit 6f4662f

Please sign in to comment.