File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed
Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -38,8 +38,10 @@ fn use_env() {
3838 struct Opt { }
3939
4040 let output = utils:: get_long_help :: < Opt > ( ) ;
41- assert_data_eq ! ( output, str ![ [ r#"
42- clap 4.5.43
41+ assert_data_eq ! (
42+ output,
43+ str ![ [ r#"
44+ clap [..]
4345A simple to use, efficient, and full-featured Command Line Argument Parser
4446
4547Usage: clap
@@ -51,7 +53,8 @@ Options:
5153 -V, --version
5254 Print version
5355
54- "# ] ] . raw( ) ) ;
56+ "# ] ]
57+ ) ;
5558}
5659
5760#[ test]
@@ -64,7 +67,9 @@ fn explicit_version_not_str_lit() {
6467 pub ( crate ) struct Opt { }
6568
6669 let output = utils:: get_long_help :: < Opt > ( ) ;
67- assert_data_eq ! ( output, str ![ [ r#"
70+ assert_data_eq ! (
71+ output,
72+ str ![ [ r#"
6873clap custom version
6974
7075Usage: clap
@@ -76,5 +81,7 @@ Options:
7681 -V, --version
7782 Print version
7883
79- "# ] ] . raw( ) ) ;
84+ "# ] ]
85+ . raw( )
86+ ) ;
8087}
You can’t perform that action at this time.
0 commit comments