@@ -35,7 +35,11 @@ fn readme_inhouse_contract_demo_runs_end_to_end() {
3535 let fa = root. join ( "examples/data/illumina_toy/reference.fa" ) ;
3636 let bam = root. join ( "examples/data/illumina_toy/alignments.bam" ) ;
3737 assert ! ( fa. exists( ) , "bundled reference missing: {}" , fa. display( ) ) ;
38- assert ! ( bam. exists( ) , "bundled alignments missing: {}" , bam. display( ) ) ;
38+ assert ! (
39+ bam. exists( ) ,
40+ "bundled alignments missing: {}" ,
41+ bam. display( )
42+ ) ;
3943
4044 let dir = unique_dir ( ) ;
4145 let idx = dir. join ( "toy.idx" ) ;
@@ -50,7 +54,11 @@ fn readme_inhouse_contract_demo_runs_end_to_end() {
5054 "--output" ,
5155 idx. to_str ( ) . unwrap ( ) ,
5256 ] ) ;
53- assert ! ( out. status. success( ) , "index: {}" , String :: from_utf8_lossy( & out. stderr) ) ;
57+ assert ! (
58+ out. status. success( ) ,
59+ "index: {}" ,
60+ String :: from_utf8_lossy( & out. stderr)
61+ ) ;
5462
5563 let out = run ( & [
5664 "sort" ,
@@ -59,10 +67,24 @@ fn readme_inhouse_contract_demo_runs_end_to_end() {
5967 "--output" ,
6068 sorted. to_str ( ) . unwrap ( ) ,
6169 ] ) ;
62- assert ! ( out. status. success( ) , "sort: {}" , String :: from_utf8_lossy( & out. stderr) ) ;
70+ assert ! (
71+ out. status. success( ) ,
72+ "sort: {}" ,
73+ String :: from_utf8_lossy( & out. stderr)
74+ ) ;
6375
64- let out = run ( & [ "plan" , "--index" , idx. to_str ( ) . unwrap ( ) , "--budget-mb" , "512" ] ) ;
65- assert ! ( out. status. success( ) , "plan: {}" , String :: from_utf8_lossy( & out. stderr) ) ;
76+ let out = run ( & [
77+ "plan" ,
78+ "--index" ,
79+ idx. to_str ( ) . unwrap ( ) ,
80+ "--budget-mb" ,
81+ "512" ,
82+ ] ) ;
83+ assert ! (
84+ out. status. success( ) ,
85+ "plan: {}" ,
86+ String :: from_utf8_lossy( & out. stderr)
87+ ) ;
6688 assert ! ( String :: from_utf8_lossy( & out. stdout) . contains( "predicted peak" ) ) ;
6789
6890 let out = run ( & [
@@ -85,7 +107,11 @@ fn readme_inhouse_contract_demo_runs_end_to_end() {
85107 assert ! ( manifest. exists( ) , "receipt sidecar must be written" ) ;
86108
87109 let out = run ( & [ "verify" , "--manifest" , manifest. to_str ( ) . unwrap ( ) ] ) ;
88- assert ! ( out. status. success( ) , "verify: {}" , String :: from_utf8_lossy( & out. stderr) ) ;
110+ assert ! (
111+ out. status. success( ) ,
112+ "verify: {}" ,
113+ String :: from_utf8_lossy( & out. stderr)
114+ ) ;
89115 assert ! ( String :: from_utf8_lossy( & out. stdout) . contains( "verify: OK" ) ) ;
90116
91117 std:: fs:: remove_dir_all ( & dir) . ok ( ) ;
0 commit comments