Skip to content
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

Bump csharpier from 0.26.7 to 0.27.0 #257

Merged
merged 2 commits into from
Jan 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"csharpier": {
"version": "0.26.7",
"version": "0.27.0",
"commands": [
"dotnet-csharpier"
]
Expand Down
5 changes: 2 additions & 3 deletions src/SharpProp/Fluids/Mixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,8 @@ public Mixture(IEnumerable<FluidsList> fluids, IEnumerable<Ratio> fractions)
}

if (
!Fluids.All(
fluid =>
fluid.Pure() && fluid.CoolPropBackend() == AvailableBackend
!Fluids.All(fluid =>
fluid.Pure() && fluid.CoolPropBackend() == AvailableBackend
)
)
{
Expand Down
11 changes: 5 additions & 6 deletions tests/SharpProp.Tests/Fluids/FluidTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -334,12 +334,11 @@ public void GetHashCode_Other_ReturnsOtherHashCode()
public static IEnumerable<object[]> FluidNames() =>
Enum.GetValues(typeof(FluidsList))
.Cast<FluidsList>()
.Where(
name =>
!(
name is FluidsList.AL or FluidsList.AN
|| name.CoolPropName().EndsWith(".mix")
)
.Where(name =>
!(
name is FluidsList.AL or FluidsList.AN
|| name.CoolPropName().EndsWith(".mix")
)
)
.Cast<object>()
.Select(name => new[] { name });
Expand Down
Loading