@@ -54,25 +54,24 @@ async fn test_command_events_function(
5454 ) )
5555 ) ,
5656 some_into(
57- SlackBlockStaticSelectElement :: new( "my-simple-static-menu" . into( ) )
58- . with_options ( vec![ SlackBlockChoiceItem :: new(
57+ SlackBlockStaticSelectElement :: new( "my-simple-static-menu" . into( ) ) . with_options (
58+ vec![ SlackBlockChoiceItem :: new(
5959 pt!( "my-option1" ) ,
6060 "my-option1-value" . to_string( )
61- ) ] )
61+ ) ]
62+ )
6263 )
6364 ] ) ) ,
64- some_into( SlackCardBlock :: new( ) . with_title( md!( "Library status" ) ) . with_body( md!(
65- "slack-morphism is up and running."
66- ) ) ) ,
65+ some_into(
66+ SlackCardBlock :: new( )
67+ . with_title( md!( "Library status" ) )
68+ . with_body( md!( "slack-morphism is up and running." ) )
69+ ) ,
6770 some_into( SlackContextActionsBlock :: new( vec![
68- SlackBlockIconButtonElement :: new(
69- "delete_card" . into( ) ,
70- "trash" . into( ) ,
71- pt!( "Delete" )
72- )
73- . with_value( "delete_item" . into( ) )
74- . with_accessibility_label( SlackAccessibilityLabel ( "Delete this item" . into( ) ) )
75- . into( )
71+ SlackBlockIconButtonElement :: new( "delete_card" . into( ) , "trash" . into( ) , pt!( "Delete" ) )
72+ . with_value( "delete_item" . into( ) )
73+ . with_accessibility_label( SlackAccessibilityLabel ( "Delete this item" . into( ) ) )
74+ . into( )
7675 ] ) ) ,
7776 some_into(
7877 SlackTableBlock :: new( vec![
@@ -81,9 +80,7 @@ async fn test_command_events_function(
8180 SlackTableCell :: RawText ( SlackTableRawTextCell :: new( "Status" . into( ) ) ) ,
8281 ] ,
8382 vec![
84- SlackTableCell :: RawText ( SlackTableRawTextCell :: new(
85- "Slack Morphism" . into( )
86- ) ) ,
83+ SlackTableCell :: RawText ( SlackTableRawTextCell :: new( "Slack Morphism" . into( ) ) ) ,
8784 SlackTableCell :: RichText ( SlackTableRichTextCell :: new( vec![
8885 SlackRichTextSection :: new( vec![ SlackRichTextInlineElement :: Text (
8986 SlackRichTextText :: new( "Active" . into( ) )
0 commit comments