Skip to content

Commit

Permalink
Add test for %=
Browse files Browse the repository at this point in the history
  • Loading branch information
thekid committed Mar 24, 2024
1 parent 36eb6f1 commit bdf5a54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/php/lang/ast/unittest/emit/OperatorTest.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class OperatorTest extends EmittingTest {

#[Test, Values([['+=', 3], ['-=', -1], ['*=', 2], ['/=', 0.5], ['**=', 1]])]
#[Test, Values([['+=', 3], ['-=', -1], ['*=', 2], ['/=', 0.5], ['**=', 1], ['%=', 1]])]
public function assignment_and_math($op, $expected) {
$r= $this->run('class %T {
public function run() {
Expand Down

0 comments on commit bdf5a54

Please sign in to comment.