Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rouzwelt committed Apr 29, 2024
1 parent 7b54fc2 commit a4b4484
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-test.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Test CI
name: Rustjs CI
on: [push]

jobs:
fmt-test:
fmt-clippy-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions src/worker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ mod tests {

// res1 should return correct value ie 5 + 1
assert_eq!(res1, 6);
// res2 should return correct value ie 5 + 1
// res2 should return correct value ie 5
assert_eq!(res2, 5);
// res3 should error
matches!(res3, Err(Error::JsException(_)));
Expand Down Expand Up @@ -377,7 +377,7 @@ mod tests {

// res1 should return correct value ie 5 + 1
assert_eq!(res1, 6);
// res2 should return correct value ie 5 + 1
// res2 should return correct value ie 5
assert_eq!(res2, 5);
// res3 should error
matches!(res3, Err(Error::JsException(_)));
Expand Down

0 comments on commit a4b4484

Please sign in to comment.