mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-12-09 07:19:11 +00:00
Merge pull request #1736 from chotchki/patch-1
Fixed assert_equal documentation example
This commit is contained in:
commit
c3afac75d4
1 changed files with 1 additions and 1 deletions
|
|
@ -952,7 +952,7 @@ module assert_approx(got, expected, info) {
|
|||
// expected = The value that was expected.
|
||||
// info = Extra info to print out to make the error clearer.
|
||||
// Example:
|
||||
// assert_approx(3*9, 27, str("a=",3,", b=",9));
|
||||
// assert_equal(3*9, 27, str("a=",3,", b=",9));
|
||||
module assert_equal(got, expected, info) {
|
||||
no_children($children);
|
||||
if (got != expected || (is_nan(got) && is_nan(expected))) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue