@@ -61,7 +61,7 @@ fn render_object_with_default_expand_none() {
6161#[ test]
6262fn render_object_search_results ( ) {
6363 // Harness::fit_contents seems to cause the tree to wrap, so set a fixed size here.
64- let mut harness = Harness :: builder ( ) . with_size ( [ 350 ., 400. ] ) . build_ui_state (
64+ let mut harness = Harness :: builder ( ) . with_size ( [ 400 ., 400. ] ) . build_ui_state (
6565 |ui, default_expand| {
6666 JsonTree :: new ( "id" , & * OBJECT )
6767 . default_expand ( * default_expand)
@@ -100,7 +100,7 @@ fn render_object_search_results() {
100100#[ test]
101101fn render_object_with_changing_default_expand_automatically_resets_expanded ( ) {
102102 // Harness::fit_contents seems to cause the tree to wrap, so set a fixed size here.
103- let mut harness = Harness :: builder ( ) . with_size ( [ 350 ., 400. ] ) . build_ui_state (
103+ let mut harness = Harness :: builder ( ) . with_size ( [ 400 ., 400. ] ) . build_ui_state (
104104 |ui, default_expand| {
105105 JsonTree :: new ( "id" , & * OBJECT )
106106 . default_expand ( * default_expand)
@@ -136,7 +136,7 @@ fn render_object_with_changing_default_expand_automatically_resets_expanded() {
136136#[ test]
137137fn render_object_with_default_expand_to_levels ( ) {
138138 // Harness::fit_contents seems to cause the tree to wrap, so set a fixed size here.
139- let mut harness = Harness :: builder ( ) . with_size ( [ 350 ., 400. ] ) . build_ui_state (
139+ let mut harness = Harness :: builder ( ) . with_size ( [ 400 ., 400. ] ) . build_ui_state (
140140 |ui, level| {
141141 JsonTree :: new ( "id" , & * OBJECT )
142142 . default_expand ( DefaultExpand :: ToLevel ( * level) )
0 commit comments