StratoSDK is a framework with a declarative approach similar to Flutter/React, written and designed entirely for Rust.
| 1 | use super::*; |
| 2 | |
| 3 | #[test] |
| 4 | fn yaml_file_type_accepts_both_yaml_and_yml() { |
| 5 | assert_eq!(FileType::Yaml.extensions(), &["yaml", "yml"]); |
| 6 | } |
| 7 | |
| 8 | #[test] |
| 9 | fn markdown_file_type_accepts_md_and_markdown() { |
| 10 | assert_eq!(FileType::Markdown.extensions(), &["md", "markdown"]); |
| 11 | } |
| 12 |