Skip to content

Commit

Permalink
DC-5198 - fix unrelated test case that assumed invalid value
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeloffner committed Dec 13, 2024
1 parent 1f5c552 commit 6d43add
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functions/BitSHLN.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ component extends="org.lucee.cfml.test.LuceeTestCase"{
application action="update" preciseMath=true;
assertEquals("4294967294", toString(BitSHLN(2147483647, 1))); // 2147483647 << 1 = 0 (overflow)
application action="update" preciseMath=false;
assertEquals("4294967296", toString(BitSHLN(2147483647, 1))); // 2147483647 << 1 = 0 (overflow)
assertEquals("2147483647", toString(BitSHLN(2147483647, 1))); // 2147483647 << 1 = 0 (overflow)
});

it(title="Checking BitSHLN() function with negative shift", body = function(currentSpec) {
Expand Down

0 comments on commit 6d43add

Please sign in to comment.