@@ -555,7 +555,8 @@ fn token_caching() {
555555 . file ( "src/lib.rs" , "" )
556556 . build ( ) ;
557557
558- let output = r#"[UPDATING] `alternative` index
558+ let output = str![ [ r#"
559+ [UPDATING] `alternative` index
559560{"v":1,"registry":{"index-url":"[..]","name":"alternative"},"kind":"get","operation":"read"}
560561[PACKAGING] foo v0.1.0 ([ROOT]/foo)
561562[PACKAGED] 4 files, [FILE_SIZE]B ([FILE_SIZE]B compressed)
@@ -565,7 +566,8 @@ fn token_caching() {
565566[NOTE] waiting [..]
566567You may press ctrl-c [..]
567568[PUBLISHED] foo v0.1.0 at registry `alternative`
568- "# ;
569+
570+ "# ] ] ;
569571
570572 // The output should contain two JSON messages from the provider in both cases:
571573 // The first because the credential is expired, the second because the provider
@@ -574,7 +576,8 @@ You may press ctrl-c [..]
574576 . with_stderr_data ( output)
575577 . run ( ) ;
576578
577- let output_non_independent = r#"[UPDATING] `alternative` index
579+ let output_non_independent = str![ [ r#"
580+ [UPDATING] `alternative` index
578581{"v":1,"registry":{"index-url":"[..]","name":"alternative"},"kind":"get","operation":"read"}
579582[PACKAGING] foo v0.1.1 ([ROOT]/foo)
580583[PACKAGED] 4 files, [FILE_SIZE]B ([FILE_SIZE]B compressed)
@@ -584,7 +587,8 @@ You may press ctrl-c [..]
584587[NOTE] waiting [..]
585588You may press ctrl-c [..]
586589[PUBLISHED] foo v0.1.1 at registry `alternative`
587- "# ;
590+
591+ "# ] ] ;
588592
589593 p. change_file (
590594 "Cargo.toml" ,
0 commit comments