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

Slightly better exception types in 4STJ #134

Merged
merged 2 commits into from
Sep 15, 2023
Merged

Conversation

airbreather
Copy link
Member

@airbreather airbreather commented Sep 14, 2023

This makes the two changes that I suggested in #132 (comment)

@@ -227,7 +227,25 @@ public void TestFeatureIdSerializedToRoot()
};

string expected = "{\"type\":\"Feature\",\"id\":1,\"geometry\":{\"type\":\"Point\",\"coordinates\":[0,0]},\"properties\":{\"name\":\"Test feature\"}}";
Assert.That(expected, Is.EqualTo(expected));
Copy link
Member Author

@airbreather airbreather Sep 14, 2023

Choose a reason for hiding this comment

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

📄 this was written incorrectly, such that it would always pass even if we had a bug. fortunately, the test was otherwise correct.

@airbreather airbreather marked this pull request as ready for review September 14, 2023 13:26
@FObermaier FObermaier merged commit 7c71c8c into develop Sep 15, 2023
11 checks passed
@airbreather airbreather deleted the enh/exception_types_4stj branch September 15, 2023 10:39
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