Skip to content

Conversation

@ccleva
Copy link
Contributor

@ccleva ccleva commented Jan 3, 2025

Thanks for contributing.

Description

Test case in PR #1206 description added as a unit test

Testing

Yes


Table table = new JsonReader().read(Source.fromString(json));

assertEquals(header, table.columnNames(), "Column order not preserved");
Copy link
Collaborator

Choose a reason for hiding this comment

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

a bug could make them unequal for other reasons. The test name already tells us what we're testing

Suggested change
assertEquals(header, table.columnNames(), "Column order not preserved");
assertEquals(header, table.columnNames());

@benmccann benmccann merged commit a923338 into jtablesaw:master Jan 3, 2025
7 checks passed
@ccleva ccleva deleted the add_test_for_#1206 branch January 3, 2025 17:58
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