diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-06-21 01:05:18 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-06-21 01:05:18 +0900 |
| commit | a6eec8ceb2f2f400fea28193fb1608b4bc968016 (patch) | |
| tree | 5f3faa7015a85b2a2aab15f339d41a11b5b6a84c /crates/shirabe/tests/dependency_resolver/main.rs | |
| parent | f50020461ec2ca005f11538e944e456b5a37c681 (diff) | |
| download | php-shirabe-a6eec8ceb2f2f400fea28193fb1608b4bc968016.tar.gz php-shirabe-a6eec8ceb2f2f400fea28193fb1608b4bc968016.tar.zst php-shirabe-a6eec8ceb2f2f400fea28193fb1608b4bc968016.zip | |
test(dependency-resolver): port RuleSetIteratorTest
Both testForeach and testKeys pass. The PHP foreach over the Iterator is
reproduced with the ported valid()/current()/key()/next() methods; the original
assertEquals on rule objects is checked via Rc::ptr_eq since the iterator yields
the same Rc instances.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/tests/dependency_resolver/main.rs')
| -rw-r--r-- | crates/shirabe/tests/dependency_resolver/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/shirabe/tests/dependency_resolver/main.rs b/crates/shirabe/tests/dependency_resolver/main.rs index 35fba9a..f6624a1 100644 --- a/crates/shirabe/tests/dependency_resolver/main.rs +++ b/crates/shirabe/tests/dependency_resolver/main.rs @@ -1 +1,2 @@ mod request_test; +mod rule_set_iterator_test; |
