mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:57:45 +00:00
AK: Fix typo in -= operator of DistinctNumeric
This commit is contained in:
parent
b2a04ff48a
commit
c6d494513e
2 changed files with 6 additions and 2 deletions
|
@ -197,6 +197,10 @@ TEST_CASE(operator_arith)
|
|||
EXPECT_EQ(a, ArithNumeric(1));
|
||||
EXPECT_EQ(a %= a, ArithNumeric(0));
|
||||
EXPECT_EQ(a, ArithNumeric(0));
|
||||
|
||||
a = ArithNumeric(12);
|
||||
EXPECT_EQ(a -= a, ArithNumeric(0));
|
||||
EXPECT_EQ(a, ArithNumeric(0));
|
||||
}
|
||||
|
||||
TEST_CASE(composability)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue