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

PackageModelTests: fix warnings #7421

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

mnaruse
Copy link
Contributor

@mnaruse mnaruse commented Mar 25, 2024

Resolve warnings in Tests/PackageModelTests/MinimumDeploymentTargetTests.swift .

Motivation:

3 warnings were displayed indicating that a deprecated function is being used and suggesting the use of an alternative function.

Modifications:

Following the suggestion, the warning was resolved.

Result:

The following warnings have been resolved:

init(arguments:environment:exitStatus:output:stderrOutput:) is deprecated: use init(arguments:environmentBlock:exitStatus:output:stderrOutput:)

'init(arguments:environment:exitStatus:output:stderrOutput:)' is deprecated: use `init(arguments:environmentBlock:exitStatus:output:stderrOutput:)`
Copy link
Contributor

@MaxDesiatov MaxDesiatov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@MaxDesiatov
Copy link
Contributor

@swift-ci test

@MaxDesiatov MaxDesiatov enabled auto-merge (squash) March 25, 2024 10:08
@MaxDesiatov MaxDesiatov changed the title fix(test): resolve warnings PackageModelTests: fix warnings Mar 25, 2024
@MaxDesiatov MaxDesiatov added the test suite improvements to SwiftPM test suite label Mar 25, 2024
@MaxDesiatov MaxDesiatov self-assigned this Mar 25, 2024
@MaxDesiatov MaxDesiatov merged commit a809fb5 into swiftlang:main Mar 25, 2024
5 checks passed
furby-tm pushed a commit to wabiverse/swift-package-manager that referenced this pull request May 15, 2024
Resolve warnings in `Tests/PackageModelTests/MinimumDeploymentTargetTests.swift` .

### Motivation:

3 warnings were displayed indicating that a deprecated function is being
used and suggesting the use of an alternative function.

### Modifications:

Following the suggestion, the warning was resolved.

### Result:

The following warnings have been resolved:

> `init(arguments:environment:exitStatus:output:stderrOutput:)` is
deprecated: use
`init(arguments:environmentBlock:exitStatus:output:stderrOutput:)`
furby-tm pushed a commit to wabiverse/swift-package-manager that referenced this pull request May 15, 2024
Resolve warnings in `Tests/PackageModelTests/MinimumDeploymentTargetTests.swift` .

### Motivation:

3 warnings were displayed indicating that a deprecated function is being
used and suggesting the use of an alternative function.

### Modifications:

Following the suggestion, the warning was resolved.

### Result:

The following warnings have been resolved:

> `init(arguments:environment:exitStatus:output:stderrOutput:)` is
deprecated: use
`init(arguments:environmentBlock:exitStatus:output:stderrOutput:)`
bnbarham pushed a commit to bnbarham/swift-package-manager that referenced this pull request May 18, 2024
Resolve warnings in `Tests/PackageModelTests/MinimumDeploymentTargetTests.swift` .

### Motivation:

3 warnings were displayed indicating that a deprecated function is being
used and suggesting the use of an alternative function.

### Modifications:

Following the suggestion, the warning was resolved.

### Result:

The following warnings have been resolved:

> `init(arguments:environment:exitStatus:output:stderrOutput:)` is
deprecated: use
`init(arguments:environmentBlock:exitStatus:output:stderrOutput:)`

(cherry picked from commit a809fb5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test suite improvements to SwiftPM test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants