Skip to content
This repository has been archived by the owner on May 31, 2023. It is now read-only.

Commit

Permalink
update to latest V
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Neubert committed Mar 2, 2021
1 parent 8a915fb commit 0d2f8db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion summations_calculator/summations_calculator_test.v
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ fn test_errors() {
inp := Input{1, 3, 'y 3'}
get_summation(inp.min, inp.max, inp.expression) or {
errors++
assert err == 'Unknown type for expression: `y 3`'
assert err.msg == 'Unknown type for expression: `y 3`'
}
assert errors == 1
}
2 changes: 1 addition & 1 deletion util/factors/factors_test.v
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fn test_factors_of_zero() {
mut errors := 0
get_factors(0) or {
errors++
assert err == 'Cannot get factors of `0`'
assert err.msg == 'Cannot get factors of `0`'
}
assert errors == 1
}
Expand Down

0 comments on commit 0d2f8db

Please sign in to comment.