Dart - make ascii optimization optional in StringReader, same as in writeString() (#6758)

This commit is contained in:
Ivan Dlugos
2021-07-29 19:39:03 +02:00
committed by GitHub
parent c871df7702
commit 5235133f32
2 changed files with 7 additions and 6 deletions

View File

@@ -379,7 +379,7 @@ class BuilderTest {
.vTableGetNullable(buf, objectOffset, indexToField(0)),
latinString);
expect(
const StringReader()
const StringReader(asciiOptimization: true)
.vTableGetNullable(buf, objectOffset, indexToField(1)),
unicodeString);
}