Skip to content

chore: update System.Linq compatibility tests #206

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

filzrev
Copy link
Contributor

@filzrev filzrev commented Jul 17, 2025

This PR update System.Linq.Tests project based on latest code.

What's changed in this PR

1. Add SequenceTests.cs/InfiniteSequenceTests.cs

It seems there is no compatibility issue.

Some System.Linq tests assertions failed on .NET 10 preview.6.
So I've added following comment that need modifications.

// TODO: Uncomment following assertions when released .NET 10 SDK preview.7

2. Update RangeTests.cs

  1. Update code based on latest code.
  2. Existing ZLinq tests don't tests ValueEnumerable.Range. So I've updated related tests.
  3. Following tests are omitted on ZLinq tests. Because interface is not compatible.
  • SequenceAsRangeTests
  • IListImplementationIsValid

3. Update Assert.* stub methods.

@neuecc
Copy link
Member

neuecc commented Jul 25, 2025

thanks!

@neuecc neuecc merged commit 378e8bf into Cysharp:main Jul 25, 2025
4 checks passed
IhateTrains pushed a commit to ParadoxGameConverters/ImperatorToCK3 that referenced this pull request Jul 27, 2025
Updated
[Meziantou.Analyzer](https://github.com/meziantou/Meziantou.Analyzer.git)
from 2.0.205 to 2.0.208.

<details>
<summary>Release notes</summary>

_Sourced from [Meziantou.Analyzer's
releases](https://github.com/meziantou/Meziantou.Analyzer.git/releases)._

No release notes found for this version range.

Commits viewable in [compare
view](https://github.com/meziantou/Meziantou.Analyzer.git/commits).
</details>

Updated [Roslynator.Analyzers](https://github.com/dotnet/roslynator.git)
from 4.13.1 to 4.14.0.

<details>
<summary>Release notes</summary>

_Sourced from [Roslynator.Analyzers's
releases](https://github.com/dotnet/roslynator.git/releases)._

No release notes found for this version range.

Commits viewable in [compare
view](https://github.com/dotnet/roslynator.git/commits).
</details>

Updated [ZLinq](https://github.com/Cysharp/ZLinq) from 1.5.1 to 1.5.2.

<details>
<summary>Release notes</summary>

_Sourced from [ZLinq's
releases](https://github.com/Cysharp/ZLinq/releases)._

## 1.5.2

## What's Changed
* chore: Fix failed ci workflows by @​filzrev in
Cysharp/ZLinq#202
* chore: Fix build error when using .NET 10 SDK preview.6 by @​filzrev
in Cysharp/ZLinq#203
* chore: Fix ZLinqBenchmarkFilter exclude condition by @​filzrev in
Cysharp/ZLinq#205
* chore: update System.Linq compatibility tests by @​filzrev in
Cysharp/ZLinq#206
* Implement TakeLast performance optimizations and benchmarks by
@​Akeit0 in Cysharp/ZLinq#207


**Full Changelog**:
Cysharp/ZLinq@1.5.1...1.5.2

Commits viewable in [compare
view](Cysharp/ZLinq@1.5.1...1.5.2).
</details>

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants