Commit 93d2bbd
committed
r.category: update test to use r.info for title verification
Replace direct cats-file reading with r.info -e (JSON format) to
verify the preserved title. The cats file is an internal format;
using the public API is more robust and is consistent with how
other tests and tools read raster metadata.1 parent 8b390ef commit 93d2bbd
2 files changed
Lines changed: 6 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
344 | | - | |
345 | 344 | | |
346 | 345 | | |
347 | 346 | | |
| |||
356 | 355 | | |
357 | 356 | | |
358 | 357 | | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
| 358 | + | |
| 359 | + | |
363 | 360 | | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
| 361 | + | |
| 362 | + | |
370 | 363 | | |
371 | 364 | | |
372 | 365 | | |
| |||
0 commit comments