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

Use System.Text.Json instead of Newtonsoft.Json in Fake.Core.IntegrationTests #2844

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Numpsy
Copy link
Contributor

@Numpsy Numpsy commented Dec 19, 2024

Description

A small follow up to #2839 in case it's useful - only effects the tests, but drops a dependency on Newtonsoft.Json - the integration test project is built as .NET 6 so it always has System.Text.Json available in box

{ File = string (t.GetProperty("file"))
Line = t.GetProperty("line").GetInt32()
Column = t.GetProperty("column").GetInt32()
ErrorDetail = string (t.GetProperty("errorDetail")) }
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note: uses string instead of .GetString() because GetString() can return null and the tests expect missing string properties to be an empty string rather than null

Copy link
Contributor

Test Results

    9 files  ±0      9 suites  ±0   51m 45s ⏱️ + 10m 43s
  439 tests ±0    439 ✅ ±0  0 💤 ±0  0 ❌ ±0 
1 251 runs  ±0  1 251 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit ce3af58. ± Comparison against base commit 048b97b.

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.

1 participant