linux: enable test TextSystem (#9037)

Make text tests work on linux.
This commit is contained in:
Rom Grk 2024-03-07 18:51:52 -05:00 committed by GitHub
parent a90a667fd0
commit 2d83580df4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 3 deletions

View file

@ -121,7 +121,7 @@ impl Platform for TestPlatform {
fn text_system(&self) -> Arc<dyn PlatformTextSystem> {
#[cfg(target_os = "linux")]
return Arc::new(crate::platform::test::TestTextSystem {});
return Arc::new(crate::platform::linux::LinuxTextSystem::new());
#[cfg(target_os = "macos")]
return Arc::new(crate::platform::mac::MacTextSystem::new());