Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
he426100 authored Dec 25, 2023
1 parent cf0ca36 commit d7ca47b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/phpunit/CollectionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ public function testCounter()

$words = ['red', 'blue', 'red', 'green', 'blue', 'blue'];
$word_counts = $Counter($words);
$this->assertEquals(PyCore::dict($word_counts), PyCore::dict(['blue' => 3, 'red' => 2, 'green' => 1]));
$this->assertEquals(['blue' => 3, 'red' => 2, 'green' => 1], [...PyCore::dict($word_counts)]);
}
}

0 comments on commit d7ca47b

Please sign in to comment.