Unverified Commit fbc34def authored by Michael Arndt's avatar Michael Arndt Committed by GitHub

Fixed typo (subetting -> subsetting) (#62502)

parent 4fee0079
...@@ -61,7 +61,7 @@ class IconTreeShaker { ...@@ -61,7 +61,7 @@ class IconTreeShaker {
_fontManifest = fontManifest?.string { _fontManifest = fontManifest?.string {
if (_environment.defines[kIconTreeShakerFlag] == 'true' && if (_environment.defines[kIconTreeShakerFlag] == 'true' &&
_environment.defines[kBuildMode] == 'debug') { _environment.defines[kBuildMode] == 'debug') {
logger.printError('Font subetting is not supported in debug mode. The ' logger.printError('Font subsetting is not supported in debug mode. The '
'--tree-shake-icons flag will be ignored.'); '--tree-shake-icons flag will be ignored.');
} }
} }
......
...@@ -138,7 +138,7 @@ void main() { ...@@ -138,7 +138,7 @@ void main() {
expect( expect(
logger.errorText, logger.errorText,
'Font subetting is not supported in debug mode. The --tree-shake-icons' 'Font subsetting is not supported in debug mode. The --tree-shake-icons'
' flag will be ignored.\n', ' flag will be ignored.\n',
); );
expect(iconTreeShaker.enabled, false); expect(iconTreeShaker.enabled, false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment