File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -178,8 +178,6 @@ fn main(mut cx: ModuleContext) -> NeonResult<()> {
178
178
179
179
#[ cfg( test) ]
180
180
mod tests {
181
- use std:: io;
182
-
183
181
use super :: * ;
184
182
185
183
#[ test]
@@ -191,7 +189,7 @@ mod tests {
191
189
fn test_visit_file_with_valid_file ( ) {
192
190
// With mocked tag
193
191
let path = String :: from ( "path/to/valid/file.mp3" ) ;
194
- let result = visit_file ( path. clone ( ) , |inner_path | {
192
+ let result = visit_file ( path. clone ( ) , |_inner_path | {
195
193
let mut tag = Tag :: new ( ) ;
196
194
tag. set_artist ( "Artist" ) ;
197
195
tag. set_title ( "Title" ) ;
@@ -225,7 +223,7 @@ mod tests {
225
223
fn test_visit_file_with_no_tags ( ) {
226
224
// With mocked tag
227
225
let path = String :: from ( "path/to/invalid/file.mp3" ) ;
228
- let result = visit_file ( path. clone ( ) , |inner_path | {
226
+ let result = visit_file ( path. clone ( ) , |_inner_path | {
229
227
Err ( id3:: Error :: new ( id3:: ErrorKind :: NoTag , "" ) )
230
228
} ) ;
231
229
You can’t perform that action at this time.
0 commit comments