Skip to content

Commit

Permalink
reverted all changes to see passing scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
sameer-nethermind committed Aug 9, 2024
1 parent 98a42a5 commit c8d8910
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ jobs:
# Echo the entire output (optional, for debugging purposes)
echo "$output"
# Check if there were any failed tests
if echo "$output" | grep -q "test result: ok"; then
echo "All tests passed!"
exit 0
else
echo "Some tests failed"
exit 1
fi
# Filter and echo the specific part of the output you are interested in
echo "$output" | grep -E "Error: test result: FAILED. [0-9]+ passed; [0-9]+ failed; [0-9]+ ignored"
2 changes: 1 addition & 1 deletion src/tests/option_round/rb_tree/rb_tree_tests.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ fn test_insert_into_empty_tree() {
assert(is_tree_valid, 'Tree is not valid');

let node_2 = rb_tree.find(node_2_id);
assert(node_2.price == 0, 'Node 2 price mismatch');
assert(node_2.price == 2, 'Node 2 price mismatch');

let node_1 = rb_tree.find(node_1_id);
assert(node_1.price == 1, 'Node 1 price mismatch');
Expand Down

0 comments on commit c8d8910

Please sign in to comment.