File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 2828 - name : Show Active Rust Toolchain
2929 run : rustup show active-toolchain
3030
31+ - name : Install flatc dependency
32+ run : sudo apt-get install -y flatbuffers-compiler
33+
3134 - name : Run cargo test
3235 run : cargo test --verbose --workspace
3336
Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ impl Flatc {
201201 . stdin ( process:: Stdio :: null ( ) )
202202 . stdout ( process:: Stdio :: piped ( ) )
203203 . stderr ( process:: Stdio :: piped ( ) )
204- . args ( & [ "--version" ] ) ,
204+ . args ( [ "--version" ] ) ,
205205 ) ?;
206206
207207 let output = child. wait_with_output ( ) ?;
@@ -222,7 +222,7 @@ impl Flatc {
222222 . chars ( )
223223 . next ( )
224224 . ok_or_else ( || err_other ( "version is empty" ) ) ?;
225- if !first_char. is_digit ( 10 ) {
225+ if !first_char. is_ascii_digit ( ) {
226226 return Err ( err_other ( "version does not start with digit" ) ) ;
227227 }
228228 Ok ( Version {
You can’t perform that action at this time.
0 commit comments