Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

Fix utf8_test to match breaking change to UTF-8 encoding and decoding #42

Merged
merged 2 commits into from
May 4, 2020

Conversation

askeksa-google
Copy link

Change the expectations of the UTF-8 test to match the recent breaking change to the Dart UTF-8 encoding and decoding described here: dart-lang/sdk#41100

This is necessary to unblock further rolls of the Dart SDK.

@askeksa-google
Copy link
Author

Alternatively, we could just remove those two subtests entirely, so the test would be compatible with both versions.

Copy link
Contributor

@dcharkes dcharkes left a comment

Choose a reason for hiding this comment

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

We already cover unpaired surrogates in normal Dart tests, so deleting is fine.

This way the package will both work in stable (old UTF-8 encoding) and master (new UTF-8 encoding).

@dcharkes dcharkes merged commit 4cc1412 into dart-archive:master May 4, 2020
dcharkes pushed a commit to dart-lang/native that referenced this pull request Jan 16, 2024
…ng change to UTF-8 encoding and decoding (dart-archive/ffi#42)

* Delete surrogate-related subtests to be compatible with both behaviors
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

None yet

4 participants