@@ -555,7 +555,8 @@ fn token_caching() {
555
555
. file ( "src/lib.rs" , "" )
556
556
. build ( ) ;
557
557
558
- let output = r#"[UPDATING] `alternative` index
558
+ let output = str![ [ r#"
559
+ [UPDATING] `alternative` index
559
560
{"v":1,"registry":{"index-url":"[..]","name":"alternative"},"kind":"get","operation":"read"}
560
561
[PACKAGING] foo v0.1.0 ([ROOT]/foo)
561
562
[PACKAGED] 4 files, [FILE_SIZE]B ([FILE_SIZE]B compressed)
@@ -565,7 +566,8 @@ fn token_caching() {
565
566
[NOTE] waiting [..]
566
567
You may press ctrl-c [..]
567
568
[PUBLISHED] foo v0.1.0 at registry `alternative`
568
- "# ;
569
+
570
+ "# ] ] ;
569
571
570
572
// The output should contain two JSON messages from the provider in both cases:
571
573
// The first because the credential is expired, the second because the provider
@@ -574,7 +576,8 @@ You may press ctrl-c [..]
574
576
. with_stderr_data ( output)
575
577
. run ( ) ;
576
578
577
- let output_non_independent = r#"[UPDATING] `alternative` index
579
+ let output_non_independent = str![ [ r#"
580
+ [UPDATING] `alternative` index
578
581
{"v":1,"registry":{"index-url":"[..]","name":"alternative"},"kind":"get","operation":"read"}
579
582
[PACKAGING] foo v0.1.1 ([ROOT]/foo)
580
583
[PACKAGED] 4 files, [FILE_SIZE]B ([FILE_SIZE]B compressed)
@@ -584,7 +587,8 @@ You may press ctrl-c [..]
584
587
[NOTE] waiting [..]
585
588
You may press ctrl-c [..]
586
589
[PUBLISHED] foo v0.1.1 at registry `alternative`
587
- "# ;
590
+
591
+ "# ] ] ;
588
592
589
593
p. change_file (
590
594
"Cargo.toml" ,
0 commit comments