Skip to content

Commit

Permalink
Improved clarity of error messaging in float module.
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDWaller committed Jun 22, 2020
1 parent cc1045f commit bba11e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/float.ts
Expand Up @@ -43,7 +43,7 @@ export function floor(
error(
fixedFloor(actual, decimals),
fixedFloor(expected, decimals),
"is not equal to",
"does not equal expected value",
),
);
}
Expand All @@ -65,7 +65,7 @@ export function ceiling(
error(
fixedCeiling(actual, decimals),
fixedCeiling(expected, decimals),
"is not equal to",
"does not equal expected value",
),
);
}

0 comments on commit bba11e5

Please sign in to comment.