ncuillery / golden_test_sandbox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

golden_test_sandbox

Description

This repo shows an issue with golden tests not rendering Japanese characters.

See golden_test.dart:

Both MaterialIcons and Roboto fonts are loaded and the characters are correctly rendering in the golden image. Unfortunately japanese characters aren't (they are in the app):

As an attempt, I tried to load Noto Sans (font used to render japanese characters on Android) but it has no effect.

Usage

To run the golden test locally:

  • Clone the repo
  • Run flutter pub get
  • Run flutter test --update-goldens test/golden_test.dart

About


Languages

Language:Dart 92.4%Language:Swift 5.3%Language:Kotlin 1.8%Language:Objective-C 0.5%