File tree 3 files changed +4
-4
lines changed
src/rust/engine/options/src
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ fn test_float() {
95
95
96
96
assert_eq ! (
97
97
"Problem parsing --bad float value:\n 1:swallow\n ^\n \
98
- Expected \" +\" , \" -\" or ['0' ..= '9'] at line 1 column 1"
98
+ Expected \" +\" , \" -\" or ['0'..='9'] at line 1 column 1"
99
99
. to_owned( ) ,
100
100
args. get_float( & option_id!( "bad" ) ) . unwrap_err( )
101
101
) ;
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ fn test_float() {
138
138
139
139
assert_eq ! (
140
140
"Problem parsing PANTS_BAD float value:\n 1:swallow\n ^\n \
141
- Expected \" +\" , \" -\" or ['0' ..= '9'] at line 1 column 1"
141
+ Expected \" +\" , \" -\" or ['0'..='9'] at line 1 column 1"
142
142
. to_owned( ) ,
143
143
env. get_float( & option_id!( "pants" , "bad" ) ) . unwrap_err( )
144
144
) ;
Original file line number Diff line number Diff line change @@ -89,13 +89,13 @@ fn test_parse_int() {
89
89
check_int ( 9223372036854775807 , "9223372036854775807" ) ;
90
90
check_int ( -9223372036854775808 , "-9223372036854775808" ) ;
91
91
assert_eq ! (
92
- "Problem parsing foo int value:\n 1:badint\n ^\n Expected \" +\" , \" -\" or ['0' ..= '9'] \
92
+ "Problem parsing foo int value:\n 1:badint\n ^\n Expected \" +\" , \" -\" or ['0'..='9'] \
93
93
at line 1 column 1"
94
94
. to_owned( ) ,
95
95
parse_int( "badint" ) . unwrap_err( ) . render( "foo" )
96
96
) ;
97
97
assert_eq ! (
98
- "Problem parsing foo int value:\n 1:12badint\n --^\n Expected \" _\" , EOF or ['0' ..= '9'] \
98
+ "Problem parsing foo int value:\n 1:12badint\n --^\n Expected \" _\" , EOF or ['0'..='9'] \
99
99
at line 1 column 3"
100
100
. to_owned( ) ,
101
101
parse_int( "12badint" ) . unwrap_err( ) . render( "foo" )
You can’t perform that action at this time.
0 commit comments