removed the xlsx case

This commit is contained in:
Jack Wright 2024-08-05 14:00:02 -07:00
parent 50ecdbbe15
commit 6a90da56d5

View File

@ -391,10 +391,6 @@ fn test_content_types_with_open_raw() {
assert!(result.out.contains("application/json"));
let result = nu!(cwd: dirs.formats(), "open --raw sample.ini | metadata");
assert!(result.out.contains("text/plain"));
let result = nu!(cwd: dirs.formats(), "open --raw sample_data.xlsx | metadata");
assert!(result
.out
.contains("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"));
let result = nu!(cwd: dirs.formats(), "open --raw sample_def.nu | metadata");
assert!(!result.out.contains("content_type"));
let result = nu!(cwd: dirs.formats(), "open --raw sample.eml | metadata");