File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
rio-backend/src/crosswords Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -3971,13 +3971,19 @@ mod tests {
39713971 RioEvent :: PtyWrite ( text) => {
39723972 // Expected format: DCS > | Rio {version} ST
39733973 // DCS = \x1bP, ST = \x1b\\
3974- assert ! ( text. starts_with( "\x1b P>|Rio " ) , "Should start with DCS>|Rio" ) ;
3974+ assert ! (
3975+ text. starts_with( "\x1b P>|Rio " ) ,
3976+ "Should start with DCS>|Rio"
3977+ ) ;
39753978 assert ! ( text. ends_with( "\x1b \\ " ) , "Should end with ST" ) ;
39763979
39773980 // Extract version from the response
39783981 let version = env ! ( "CARGO_PKG_VERSION" ) ;
39793982 let expected = format ! ( "\x1b P>|Rio {}\x1b \\ " , version) ;
3980- assert_eq ! ( text, & expected, "XTVERSION response should match expected format" ) ;
3983+ assert_eq ! (
3984+ text, & expected,
3985+ "XTVERSION response should match expected format"
3986+ ) ;
39813987 }
39823988 other => panic ! ( "Expected PtyWrite event, got {:?}" , other) ,
39833989 }
You can’t perform that action at this time.
0 commit comments