Seregon/StratoSDK

StratoSDK is a framework with a declarative approach similar to Flutter/React, written and designed entirely for Rust.

Rust/27.3 KB/No license
crates/strato-ui-core/src/platform/file_picker_tests.rs
StratoSDK / crates / strato-ui-core / src / platform / file_picker_tests.rs
1use super::*;
2 
3#[test]
4fn yaml_file_type_accepts_both_yaml_and_yml() {
5 assert_eq!(FileType::Yaml.extensions(), &["yaml", "yml"]);
6}
7 
8#[test]
9fn markdown_file_type_accepts_md_and_markdown() {
10 assert_eq!(FileType::Markdown.extensions(), &["md", "markdown"]);
11}
12