//! ref: composer/tests/Composer/Test/Platform/RuntimeTest.php use shirabe::platform::runtime::Runtime; #[test] fn test_parse_extension_info() { for (html_input, expected_output) in provide_extension_infos() { assert_eq!( expected_output, Runtime::parse_html_extension_info(html_input) ); } } fn provide_extension_infos() -> Vec<(&'static str, &'static str)> { vec![( // 'pdo_sqlite' "
| PDO Driver for SQLite 3.x | enabled |
| SQLite Library | 3.40.1 |