fix(core/ui): fix build of Rust unit tests on T3T1

pull/3878/head
matejcik 4 months ago committed by matejcik
parent 27fe6810c0
commit 9a6f6c6b75

@ -522,7 +522,6 @@ mod tests {
use serde_json;
use crate::{
strutil::SkipPrefix,
trace::tests::trace,
ui::{
component::text::paragraphs::{Paragraph, Paragraphs},

@ -2021,8 +2021,11 @@ mod tests {
#[test]
fn trace_example_layout() {
let buttons =
Button::cancel_confirm(Button::with_text("Left"), Button::with_text("Right"), false);
let buttons = Button::cancel_confirm(
Button::with_text("Left".into()),
Button::with_text("Right".into()),
false,
);
let ops = OpTextLayout::new(theme::TEXT_NORMAL)
.text_normal("Testing text layout, with some text, and some more text. And ")

Loading…
Cancel
Save