File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -144,14 +144,12 @@ mod tests {
144144 use crate :: metadata:: tileset:: read_metadata;
145145
146146 #[ test]
147+ #[ ignore = "tile format has changed, the decode function is no longer valid. See mlt-nom crate for updated parsing." ]
147148 fn test_decode ( ) {
148- let raw = fs:: read ( "../../ts/test/data/omt/unoptimized/mlt/plain/0_0_0.mlt" )
149- . expect ( "Failed to read file" ) ;
149+ let raw = fs:: read ( "../../test/expected/omt/2_2_2.mlt" ) . expect ( "Failed to read file" ) ;
150150 let mut mlt = Decoder :: new ( raw, None ) ;
151- let metadata = read_metadata ( Path :: new (
152- "../../ts/test/data/omt/unoptimized/mlt/plain/tileset.pbf" ,
153- ) )
154- . expect ( "Failed to read metadata" ) ;
151+ let metadata = read_metadata ( Path :: new ( "../../test/expected/omt/2_2_2.mlt.meta.pbf" ) )
152+ . expect ( "Failed to read metadata" ) ;
155153
156154 // Write metadata to a txt file
157155 let metadata_str = format ! ( "{metadata:#?}" ) ;
You can’t perform that action at this time.
0 commit comments